Content-Type: application/x-www-form-urlencoded #767
Unanswered
tuhinganguly
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@tuhinganguly since |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I create a POST request with Content-Type: application/x-www-form-urlencoded
I have a CURL something like below:
curl --location --request POST 'https://{{formStoreHost}}/connect/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic {{formStoreToken}}' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'scope=formstore_api'
I get a response :
`{
"error": "unsupported_grant_type"
}'
@Huachao can you please help look at this. I am trying to see if the tool would fit our team's requirement and I am getting stuck with these kind of requests.
Beta Was this translation helpful? Give feedback.
All reactions