Updates the web.http

This commit is contained in:
Jonathan Bourdon
2024-08-04 03:25:01 -04:00
parent 19ae599bd0
commit 303619cc18

View File

@@ -1,6 +1,6 @@
# For more info on HTTP files go to https://aka.ms/vs/httpfile
@Email=administrator@localhost
@Password=Administrator1!
@Email=userA@test
@Password=Test123#
@auth_token=<Your Token>
# POST Users Register
@@ -37,19 +37,26 @@ Content-Type: application/json
}
###
# GET GetMyUser
GET {{base_url}}/api/GetMyUser
Authorization: Bearer {{auth_token}}
###
# GET /api/posts
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 {{base_url}}/api/messages/by-user/325C69E8-DBC4-4CEE-B56E-C3C90AEE7963
Authorization: Bearer {{auth_token}}