Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highcharts.ajax does not support post/put #13965

Closed
bre1470 opened this issue Jul 28, 2020 · 3 comments
Closed

Highcharts.ajax does not support post/put #13965

bre1470 opened this issue Jul 28, 2020 · 3 comments
Assignees
Labels
Product: Docs Product: TypeScript Issues & enhancements related to TS/TypeScript Status: Has workaround

Comments

@bre1470
Copy link
Contributor

bre1470 commented Jul 28, 2020

Expected behaviour

Highcharts.ajax should be compatible to every HTTP method.

Actual behaviour

Highcharts.ajax does only support the HTTP get method.

Live demo with steps to reproduce

Google API v4 requires broader support: https://jsfiddle.net/BlackLabel/f3zt5ok1/

Product version

Highcharts. v8.1.2

Affected browser(s)

all

@highsoft-bot highsoft-bot added this to To do in Development-Flow Jul 28, 2020
@bre1470
Copy link
Contributor Author

bre1470 commented Jul 28, 2020

No, it is not true. You can redefine put/get with the ajax option type like

Highcharts.ajax({
    type: 'put'
});

@bre1470 bre1470 closed this as completed Jul 28, 2020
Development-Flow automation moved this from To do to Done Jul 28, 2020
@sebastianbochan
Copy link
Contributor

sebastianbochan commented Jul 28, 2020

In the TS i do not see the put option, so it still requires to be changed.

type: ('get'|'post'|'update'|'delete');

@bre1470
Copy link
Contributor Author

bre1470 commented Jul 28, 2020

Okay, the typing has to be adjusted. head is also missing. The implementation is supporting every function though.

@bre1470 bre1470 reopened this Jul 28, 2020
Development-Flow automation moved this from Done to To do Jul 28, 2020
@bre1470 bre1470 self-assigned this Jul 30, 2020
@bre1470 bre1470 moved this from To do to In progress in Development-Flow Jul 30, 2020
@bre1470 bre1470 added Product: Docs Product: TypeScript Issues & enhancements related to TS/TypeScript labels Jul 30, 2020
Development-Flow automation moved this from In progress to Done Aug 4, 2020
@Izothep Izothep removed this from Done in Development-Flow Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product: Docs Product: TypeScript Issues & enhancements related to TS/TypeScript Status: Has workaround
Projects
None yet
Development

No branches or pull requests

3 participants