Rest Post - How to

Rest Post - How to


How do I create a equivalent post in OutSystems

curl -X POST "" \  -d "client_id={client_id}" \  -d "client_secret={client_secret}" \  -d "grant_type=client_credentials"

I tried the following

But getting error.

More details about the APi:

As far as I can see, there's nothing wrong with the way that you've done it in OutSystems. I'm supposing that your the request with curl succeed... 

Hi Shawn, have you tried passing the parameters in the query string?

Something like changing the URL you are consuming to{client_id}&client_secret={client_secret}&grant_type={grant_type} or just{client_id}&client_secret={client_secret}&grant_type=client_credentials should do it.