You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,23 +38,29 @@ Populate `.env` with the provider values from agnoStack.
38
38
yarn watch
39
39
```
40
40
41
-
Post requests can then be made via `http://localhost:3000/dev/agnostack/orders/12345`
41
+
NOTE: this will run your local project via serverless offline AND also generate an ngrok URL that you can then use to access.
42
+
43
+
Requests can then be made via `https://<<generated>>.ngrok.app/dev/agnostack/<<xyz-api-route>>` or `http://localhost:3000/dev/agnostack/<<xyz-api-route>>`
42
44
43
45
## AWS Deployment
44
46
45
47
```bash
46
48
yarn deploy
47
49
```
48
50
51
+
## Postman Collection
52
+
53
+
agnoStack API sample postman requests available via: https://agnostack.dev/postman.json
54
+
49
55
## Making requests
50
56
51
57
All requests must contain the following request headers, provided from agnoStack.
52
58
53
-
-x-organization-id
54
-
-x-providerstack-id
59
+
-X-Organization-Id
60
+
-X-Providerstack-Id
55
61
56
62
```bash
57
63
curl --location --request POST 'http://localhost:3000/dev/agnostack/orders/12345' \
0 commit comments