Skip to content

Commit 74a6ebc

Browse files
committed
Add protocol variable to environment
1 parent 94732ca commit 74a6ebc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

http-client.env.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
{
22
"local": {
3+
"protocol": "http://",
34
"host": "localhost",
45
"port": "8000"
56
},
67
"private": {
8+
"protocol": "http://",
79
"host": "192.168.1.2",
810
"port": "8000"
911
},
1012
"private-server": {
13+
"protocol": "http://",
1114
"host": "192.168.1.9",
1215
"port": "8000"
1316
},
1417
"public-server": {
18+
"protocol": "https://",
1519
"host": "go-capture.code-apprentice.com",
1620
"port": ""
1721
}

requests.http

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
### health check
2-
GET http://{{host}}:{{port}}/health_check/
2+
GET {{protocol}}{{host}}:{{port}}/health_check/
33

44
### POST image
5-
POST http://{{host}}:{{port}}/capture/
5+
POST {{protocol}}{{host}}:{{port}}/capture/
66
Content-Type: multipart/form-data; boundary=WebAppBoundary
77

88
--WebAppBoundary

0 commit comments

Comments
 (0)