Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
micheledenardi
Specialist II
Specialist II

REST body, what's wrong?

Dear all,

i'm trying to get some data from our company's Lectra PLM based on mongo db.

PLM consultants gave me the body syntex to include on my REST connection but for some reasons it seems the call is ignoring the body.

Do someone has the idea of which can be the cause?

With this configuration i'm getting only 100rows but with the parameters limit 0 it should return all results, not only the first 100. PLM consultants says there is not pagination so all the results should retrived.

thanks

 

micheledenardi_0-1779797140360.png

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Labels (4)
1 Solution

Accepted Solutions
micheledenardi
Specialist II
Specialist II
Author

Content-Type: application/json was missing as query header.

Postman adds it automatically that's the reason why on Qlik was not working and with postaman yes.

Thanks @rzenere_avvale for helping!

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

3 Replies
rzenere_avvale
Partner - Specialist II
Partner - Specialist II

Ciao @micheledenardi ,
A few questions to deep dive the issue:

  1. Are there any other parameters/headers (i.e. content-type) that are being used?
  2. Where you able to try this API call from another tool (like Postman)? If you did, did you get the same result as in Qlik?

Regards,
Riccardo

micheledenardi
Specialist II
Specialist II
Author

I add only the Authorization Bearer as query header.

With postman it work correctly

micheledenardi_0-1779798234426.png

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
micheledenardi
Specialist II
Specialist II
Author

Content-Type: application/json was missing as query header.

Postman adds it automatically that's the reason why on Qlik was not working and with postaman yes.

Thanks @rzenere_avvale for helping!

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.