Files
odpo/works/lab-03/PokedexApi - v1 - 1/Pokemons/patch -pokemons--id-level.yml
T
2026-10-16 17:28:22 +03:00

52 lines
816 B
YAML

info:
name: patch /pokemons/:id/level
type: http
seq: 7
tags:
- Pokemons
http:
method: PATCH
url: "{{baseUrl}}/pokemons/:id/level"
params:
- name: id
value: ""
type: path
body:
type: json
data: |-
{
"level": ""
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/pokemons/:id/level"
method: PATCH
params:
- name: id
value: ""
type: path
body:
type: json
data: |-
{
"level": ""
}
response:
status: 200
statusText: OK
body:
type: text
data: ""