mirror of
https://github.com/LukasKanka/api_test.git
synced 2026-11-11 14:34:36 +01:00
32 lines
633 B
YAML
32 lines
633 B
YAML
info:
|
|
name: Add new sprll
|
|
type: http
|
|
seq: 5
|
|
|
|
http:
|
|
method: POST
|
|
url: http://localhost:3000/characters
|
|
body:
|
|
type: json
|
|
data: |
|
|
{
|
|
"name": "Lu Kankys",
|
|
"role": "student",
|
|
"house": "Gryffindor",
|
|
"school": "Hogwarts School of Witchcraft and Wizardry",
|
|
"dumbledoresArmy": true,
|
|
"bloodStatus": "half-blood",
|
|
"species": "human"
|
|
}
|
|
auth:
|
|
type: basic
|
|
username: admin
|
|
password: supersecret
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
forwardAuthorizationHeader: false
|