API Bloom is a weekly prize-winning challenge in the Ready! API Community. Each week, we assign a task that you need to accomplish to become a winner. See the rules here.
THIS WEEK TASK
Give the biggest number of Solutions on the Ready! API forums
Top 3 contributors will get $50, $35, and $15 gift cards!
08-12-2017 09:32 AM
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?
08-12-2017 05:44 PM
08-13-2017 10:30 PM
08-14-2017 12:27 AM
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.
08-14-2017 01:17 AM
08-14-2017 04:33 AM
The media type of the request body. You can select one of the values from the drop-down list or enter your own value.