Updates the web.http
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# For more info on HTTP files go to https://aka.ms/vs/httpfile
|
# For more info on HTTP files go to https://aka.ms/vs/httpfile
|
||||||
@Email=administrator@localhost
|
@Email=userA@test
|
||||||
@Password=Administrator1!
|
@Password=Test123#
|
||||||
@auth_token=<Your Token>
|
@auth_token=<Your Token>
|
||||||
|
|
||||||
# POST Users Register
|
# POST Users Register
|
||||||
@@ -37,19 +37,26 @@ Content-Type: application/json
|
|||||||
}
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
# GET GetMyUser
|
# GET GetMyUser
|
||||||
GET {{base_url}}/api/GetMyUser
|
GET {{base_url}}/api/GetMyUser
|
||||||
Authorization: Bearer {{auth_token}}
|
Authorization: Bearer {{auth_token}}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
# GET /api/posts
|
# GET /api/posts
|
||||||
|
|
||||||
GET {{base_url}}/api/messages/00000001-0000-0000-0000-000000000001
|
GET {{base_url}}/api/messages/00000001-0000-0000-0000-000000000001
|
||||||
|
|
||||||
###
|
###
|
||||||
|
# GET /api/subscriptions
|
||||||
|
GET {{base_url}}/api/subscriptions
|
||||||
|
Authorization: Bearer {{auth_token}}
|
||||||
|
|
||||||
|
###
|
||||||
|
# POST /api/creators/{CreatorId}/subscribe
|
||||||
|
POST {{base_url}}/api/creators/74d60ff6-bdd3-4347-acd8-08dcb43b3ea4/subscribe
|
||||||
|
Authorization: Bearer {{auth_token}}
|
||||||
|
|
||||||
|
###
|
||||||
# GET /api/posts/by-user
|
# GET /api/posts/by-user
|
||||||
GET {{base_url}}/api/messages/by-user/325C69E8-DBC4-4CEE-B56E-C3C90AEE7963
|
GET {{base_url}}/api/messages/by-user/325C69E8-DBC4-4CEE-B56E-C3C90AEE7963
|
||||||
Authorization: Bearer {{auth_token}}
|
Authorization: Bearer {{auth_token}}
|
||||||
Reference in New Issue
Block a user