generated from admin/template
52 lines
844 B
YAML
52 lines
844 B
YAML
info:
|
|
name: put /pokemons/:id
|
|
type: http
|
|
seq: 5
|
|
tags:
|
|
- PokedexApi
|
|
|
|
http:
|
|
method: PUT
|
|
url: http://localhost:5211/pokemons/1
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"name": "Raichu",
|
|
"type": "Electric",
|
|
"level": 32
|
|
}
|
|
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: ""
|