Remove unused Web.http
This commit is contained in:
@@ -1,102 +0,0 @@
|
||||
# For more info on HTTP files go to https://aka.ms/vs/httpfile
|
||||
@Email=hutopy@test
|
||||
@Password=Test123#
|
||||
@auth_token=<Your Token>
|
||||
|
||||
# POST Users Register
|
||||
POST {{base_url}}/api/Users/Register
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"email": "{{Email}}",
|
||||
"password": "{{Password}}"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
# POST Users Login
|
||||
POST {{base_url}}/api/Users/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"email": "{{Email}}",
|
||||
"password": "{{Password}}"
|
||||
}
|
||||
|
||||
> {%
|
||||
client.global.set("auth_token", response.body.accessToken);
|
||||
%}
|
||||
|
||||
###
|
||||
|
||||
# POST Users Refresh
|
||||
POST {{base_url}}/api/Users/Refresh
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"refreshToken": ""
|
||||
}
|
||||
|
||||
###
|
||||
# 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}}
|
||||
|
||||
###
|
||||
# GET /api/contents/creator/{CreatorId}
|
||||
GET {{base_url}}/api/contents/creator/8590ba59-58a7-4466-bb50-08dcb5e47c6d/
|
||||
|
||||
|
||||
###
|
||||
# GET /api/creators/{CreatorId}/colors
|
||||
POST {{base_url}}/api/creators/8590ba59-58a7-4466-bb50-08dcb5e47c6d/colors/
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Primary": "#fffff0",
|
||||
"Secondary": "#fffff0",
|
||||
"Background": "#fffff0",
|
||||
"Surface": "#fffff0",
|
||||
"Error": "#fffff0",
|
||||
"OnPrimary": "#fffff0",
|
||||
"OnSecondary": "#fffff0",
|
||||
"OnBackground": "#fffff0",
|
||||
"OnSurface": "#fffff0",
|
||||
"OnError": "#fffff0"
|
||||
}
|
||||
|
||||
|
||||
###
|
||||
# GET /api/tips/{CreatorId}
|
||||
POST {{base_url}}/api/tips/8590ba59-58a7-4466-bb50-08dcb5e47c6d/
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"amount" : 12300,
|
||||
"creatorId" : "9a150dea-edda-4b85-f17a-08dce560fa5c",
|
||||
"currency" : "CAD",
|
||||
"message" : "TEST"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"dev": {
|
||||
"base_url": "https://localhost:5001"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user