Init
This commit is contained in:
6
requests/OneReview.http
Normal file
6
requests/OneReview.http
Normal file
@ -0,0 +1,6 @@
|
||||
@OneReview_HostAddress = http://localhost:5243
|
||||
|
||||
GET {{OneReview_HostAddress}}/weatherforecast/
|
||||
Accept: application/json
|
||||
|
||||
###
|
15
requests/Products/CreateProduct.http
Normal file
15
requests/Products/CreateProduct.http
Normal file
@ -0,0 +1,15 @@
|
||||
# @name create
|
||||
|
||||
POST {{host}}/products
|
||||
Authorization: Bearer {{token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Name": "Mike 1001",
|
||||
"Category": "Person",
|
||||
"SubCategory": "Male"
|
||||
}
|
||||
|
||||
### get based on location header
|
||||
|
||||
GET {{create.response.headers.Location}}
|
3
requests/Products/GetProduct.http
Normal file
3
requests/Products/GetProduct.http
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
GET {{host}}/products/e3d7a2b3-4be8-47b4-8458-b08784511dca
|
||||
Authorization: Bearer {{token}}
|
1
requests/google.http
Normal file
1
requests/google.http
Normal file
@ -0,0 +1 @@
|
||||
GET www.google.com
|
Reference in New Issue
Block a user