Body
RestMan offers an intuitive way to deal with the body of HTTP requests and responses.
Request with body:
- Submit plan text data (text/plain)
- Submit form data (application/x-www-form-urlencoded)
- Submit json (application/json)
- Submit file (image/jpeg …)
- Submit multipart form data (multipart/form-data)
Handle response body:
- Get string or binary response with
response.body
- Handle json resposne with
JSON.parse(response.body)
- Handle file response with
raw_response