Forum Discussion
richie
5 years agoCommunity 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
5 years agoOccasional Contributor
Hi!
Understood so far, but how I can add this parameter in SoapUI to the authentication profile?
Regards
sp00ky