Files
api_test/apiTest/PotterAPI/Add new sprll.yml
T
2026-09-14 23:42:04 +02:00

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