when we do save with style “server”, if we can specify the “Content-type: application/json” plz ?
Thank you for contacting us.
We would like to kindly explain that the media type can not be changed in case the
save method is used. It is due to the fact that not only the report is sent, but the Form Data (
content-type: application/x-www-form-urlencoded) with additional information about the report itself.
In case the different media type needs to be specified when saving the report on the server, we recommend the following approach.
Get the report using the
getReport API call provided by the component. Next, Ajax can be used in order to save it on the server with an appropriate media type (
More information about the method can be found in our documentation.
Do not hesitate to contact us in case additional questions occur.
ok, thanks a lot !