prepare global validationpipe
This commit is contained in:
@@ -20,3 +20,28 @@ Authorization: Bearer {{auth_token}}
|
||||
POST {{apiBaseUrl}}/auth/logout
|
||||
Accept: application/json
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
|
||||
|
||||
### GET request with parameter
|
||||
GET {{apiBaseUrl}}/products
|
||||
Accept: application/json
|
||||
|
||||
### Post
|
||||
POST {{apiBaseUrl}}/products
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"name": "p3",
|
||||
"price": 3,
|
||||
"is_available": true
|
||||
}
|
||||
|
||||
|
||||
### GET
|
||||
|
||||
# curl -i http://httpbin.org/ip
|
||||
GET http://httpbin.org/ip
|
||||
|
||||
###
|
||||
Reference in New Issue
Block a user