Send JSON by specifying type: json
and the content
property.
⚠️ Note: when using
type: json
you MUST send the headercontent-type: application/json
1link - name: create a new user
2link request:
3link path: /users
4link method: post
5link headers:
6link - name: content-type
7link value: application/json
8link payload:
9link body:
10link type: json
11link content:
12link firstName: john
13link lastName: doe
14link response:
15link status_code: 201
See also: