Forum Discussion
richie
Community Hero
Hey sp00ky,
The error you have detailed indicates your request requires a payload and the payload is missing the resource parameter. The error is reported because your payload is missing a resource parameter, so youd need to update your request's MediaType (datatype/Content-Type header) to support including a payload 'application/x-www-form-urlencoded'
and your payload would look something like the following:
resource=someValue
&client_id=someValue
&client_secret=someValue
&grant_type=client%20credentials
Ta
Rich
The error you have detailed indicates your request requires a payload and the payload is missing the resource parameter. The error is reported because your payload is missing a resource parameter, so youd need to update your request's MediaType (datatype/Content-Type header) to support including a payload 'application/x-www-form-urlencoded'
and your payload would look something like the following:
resource=someValue
&client_id=someValue
&client_secret=someValue
&grant_type=client%20credentials
Ta
Rich
sp00ky
4 years agoOccasional Contributor
Hi!
Understood so far, but how I can add this parameter in SoapUI to the authentication profile?
Regards
sp00ky
- richie4 years agoCommunity HeroHey sp00ky,
Sorry i lost your post and have only just seen it. Short answer is "i dont know". I didnt read your last post properly and made a false assumption that you had a payload. I suggest raising a support request with smartbear to determine the answer of how to supply the resource parameter if no one answers this post.
Im also interested in the answer so when smartbear do respond, would you mind updating this post with the answer?
Sorry i csnt be more help,
Cheers,
Rich
Related Content
Recent Discussions
- 15 years ago