Sample APIs
Copiar Página
Vegazap
Comece por aqui
Autenticação
Códigos HTTP das respostas
Canais de suporte
Sample APIs
Find pet by ID
GET
Add a new pet to the store
POST
Update an existing pet
PUT
Deletes a pet
DELETE
Finds Pets by status
GET
Esquemas
Sample Schemas
Pet
Category
Tag
Sample APIs
Copiar Página
Update an existing pet
PUT
/pet
Testar
Run in Apidog
Run in Apidog
Requisição
Parâmetros Body
application/json
Gerar Código
Exemplo
{
}
Códigos de solicitação
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
PUT
'/pet'
\
--header
'Content-Type: application/json'
\
--data
'{}'
Respostas
🟠
405
Validation error
application/json
Gerar Código
Body
application/json
Gerar Código
Exemplo
{
}
🟢
200
OK
🟠
404
Record not found
Modificado em
2024-09-24 14:48:55
Página anterior
Add a new pet to the store
Próxima página
Deletes a pet