Answered

Authentication methods in Custom Action API call

  • 9 December 2022
  • 3 replies
  • 67 views

Userlevel 1

How can I send request body in x-www-form-urlencoded format. It is mentioned that I need to pass request body in json format but My Authentication end point only supports requests in x-www-form-urlencoded format. Can someone please let me know the how can I make authentication with x-www-form-urlencoded format ?

icon

Best answer by Jacob Cox 14 January 2024, 22:44

View original

3 replies

Userlevel 2

Hey @kushal​! Daniel from Customer Support Engineering here 🔧 

 

Can you please try adding application/x-www-form-urlencoded as the value for the Content-type header? If this fails, you should be able to pass the request body through a JSON object as a workaround. Please note that at the moment, we only officially support JSON, but we hope to integrate support for encoded tokens in the future.

@Daniel M15 any news on application/x-www-form-urlencoded support?

 

Userlevel 4
Badge +5

Hey there @Uffe !

Currently our REST API only supports application/json for the content-type. I don’t know of any current plans to change that at this time, but I’ll flag this with the team so they are aware that there’s interest in that.

Reply