diff --git a/tests/facility_api_test.http b/tests/facility_api_test.http new file mode 100644 index 00000000..e698681c --- /dev/null +++ b/tests/facility_api_test.http @@ -0,0 +1,6 @@ + +### GET request with a header +GET http://{{host}}/v1/facility/nsls2/cycles/current +Accept: application/json + + diff --git a/tests/http-client.env.json b/tests/http-client.env.json new file mode 100644 index 00000000..4afdeb07 --- /dev/null +++ b/tests/http-client.env.json @@ -0,0 +1,10 @@ +{ + "dev": { + "param": "variable from environment 'dev'", + "host": "http://localhost:8080/" + }, + "production": { + "param": "variable from environment 'production'", + "host": "http://api.nsls2.bnl.gov/" + } +}