Body of the request is in application/x-www-form-urlencoded format, this request do not work in any other format.
I tried to create this request by manually giving the value content-type as application/x-www-form-urlencoded in Headers and body of the request in this format: grant_type=password&username=XXXX&password=XXXXX
But this is also not working, so please let me know how can I create this request in ReadyAPI?
Media type is a predefined list in ReadyAPI that is not editable.
I tried passing Media type in Header but it takes value from list only. By default in request it takes value of Media Type as content type i.e. when we select any format of the request in Media type list, in request (Raw) it will be shown as content-type. Hence Media type and Content type is a something.