Skip to content

Commit d1c8e46

Browse files
committed
Improved: manual requests file
1 parent 6cddeb3 commit d1c8e46

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

api/requests.http

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@baseUrl=http://localhost:3000
2-
@cloudUrl=https://sms.capcom.me
1+
@baseUrl={{$dotenv CLOUD__URL}}
32
@credentials={{$dotenv CLOUD__CREDENTIALS}}
43
@mobileToken={{$dotenv MOBILE__TOKEN}}
54
@phone={{$dotenv PHONE}}
@@ -24,11 +23,11 @@ Authorization: Basic {{credentials}}
2423
"phoneNumbers": [
2524
"{{phone}}"
2625
],
27-
"simNumber": 2
26+
"simNumber": 3
2827
}
2928

3029
###
31-
GET {{cloudUrl}}/api/3rdparty/v1/message/Cao6mzuIRrjBB7TtlWnZ- HTTP/1.1
30+
GET {{baseUrl}}/api/3rdparty/v1/message/IyJP8Iexf55XFhYFHMjcs HTTP/1.1
3231
Authorization: Basic {{credentials}}
3332

3433
###

0 commit comments

Comments
 (0)