Files
odpo/works/lab-02/PokedexApi - v1/PokedexApi/put -pokemons--id.yml
T
2026-10-16 15:03:36 +03:00

56 lines
882 B
YAML

info:
name: put /pokemons/:id
type: http
seq: 5
tags:
- PokedexApi
http:
method: PUT
url: "{{baseUrl}}/pokemons/:id"
params:
- name: id
value: ""
type: path
body:
type: json
data: |-
{
"name": "",
"type": "",
"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"
method: PUT
params:
- name: id
value: ""
type: path
body:
type: json
data: |-
{
"name": "",
"type": "",
"level": ""
}
response:
status: 200
statusText: OK
body:
type: text
data: ""