
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
REST connection - x-www-form-urlencoded
Hello,
I am encountering some issue to setup a connection to a REST API, using POST with a x-www-form-urlencoded body.
In Postman this is working well, and it sends me back the token for subsequent API calls :
Postman
Postman HTML code
In QlikSense I configured it this way, by doing copy paste of Postman parameters:
Endpoint & body
Content type
But I am still getting 403 error.
Is it a formatting issue on the body, or do you think about anything else ?
Thanks in advance for any advice !
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By any chance do you have a screenshot that shows the error?
In addition from postman itself, there is an icon in the top right section with this symbol </> , if you click on it it will let you get code on other languages, I would select Powershell and get the script, that way you make sure you are passing all the parameters that postman is passing and then just copy them to QS and verify the outcome.
Hope it helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By any chance do you have a screenshot that shows the error?
In addition from postman itself, there is an icon in the top right section with this symbol </> , if you click on it it will let you get code on other languages, I would select Powershell and get the script, that way you make sure you are passing all the parameters that postman is passing and then just copy them to QS and verify the outcome.
Hope it helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@NadiaB thanks, was looking for the same. This worked for me
For future reference
- Select </>
- Select PowerShell - RestMethod
- Copy Paste the $body content in Qlik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Similar topic is connecting to Quickbooks Online (QBO) via REST API in Qlik Sense SaaS. See my post on this thread: Connection Qlik Sense SAAS to Quickbooks online - Qlik Community - 2122653
