Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
dpiperUSNavy
Contributor
Contributor

REST connection Post method - request body error

I keep having this below error when attempting a POST method through Qliksense REST API connection: 

dpiperUSNavy_0-1710350465878.png

My Request Body is exactly this:  {"format": "json","compress": "false"}

I have tried other types of request body submissions with [ ] around the text and etc.. But I keep getting the same error.. I have tried this method through Postman webapp and it works successfully with exact request body above. But with Qliksense REST API - I can't seem to get past this error!  Can someone please help!  Thank you!

 

Labels (1)
  • API

1 Solution

Accepted Solutions
dpiperUSNavy
Contributor
Contributor
Author

I resolved the error with Query Header "Content-Type" = 'application/json'

View solution in original post

2 Replies
alex_colombo
Employee
Employee

Hey @dpiperUSNavy , could you please share with us which API endpoint are you calling and paste the entire request (headers and body)? And also if you can share the main requirements and why you need to connect to QRS API from a QlikSense app.

dpiperUSNavy
Contributor
Contributor
Author

I resolved the error with Query Header "Content-Type" = 'application/json'