Rest API definition
Response definition
api.rest.v1.get('serviceId', {queryParams: {'key': 'value'}}, {'Content-Type': 'multipart/form-data'});{
status: {
code: int,
message: String
},
headers: Map<String, String>,
body: Map<String, Object>
}response.status.code // <--- obtaining the value from the `code` field, containing the response code, e.g. 200
response.status.message // <--- obtaining the value from the `message` field, containing the response message, e.g. "Accepted"
response.headers.language // <--- obtaining the value of the return header named `language`
response.body.user.type // <--- obtaining the value of a specific field from the response, where the response looks like: {"user": {"type": "userType"}}Exception definition
Request definition
Requests
GET
DELETE
POST
PUT
PATCH
Eximee Designer





API testing (Postman)
Last updated
Was this helpful?
