Skip to content

Commit a504054

Browse files
committedApr 11, 2023
Revise requests
1 parent bcc34cc commit a504054

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
 

‎requests/api.http

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Call Rocket API
2+
GET {{API_HOST_ROCKET}}/api/users/me
3+
Authorization: Bearer XXX
4+
Accept: application/json
5+
6+
### Call Actix API
7+
GET {{API_HOST_ACTIX}}/api/users/me
8+
Authorization: Bearer XXX
9+
Accept: application/json

‎requests/http-client.env.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"playground": {
33
"ISSUER": "https://id.rust.test:8443/auth/realms/playground",
4+
"API_HOST_ROCKET": "https://api.rust.test:4853",
5+
"API_HOST_ACTIX": "https://api.rust.test:4853",
46
"ADMIN_USERNAME": "admin",
57
"ADMIN_PASSWORD": "admin",
68
"USER_USERNAME": "tester",

0 commit comments

Comments
 (0)
Please sign in to comment.