Skip to content

Commit 2d38bbe

Browse files
committed
feat: modify endpoint path
1 parent ca3c1b3 commit 2d38bbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Enter values for `INTEGRATION_PUBLIC_KEY` and `BASE_API_PATH` given the values p
2727
yarn watch
2828
```
2929

30-
Post requests can then be made via `http://localhost:9000/dev/proxy/orders/12345`
30+
Post requests can then be made via `http://localhost:3000/dev/agnoStack/orders/12345`
3131

3232
## Deployment
3333

@@ -45,7 +45,7 @@ All requests must contain the following request headers, provided from agnoStack
4545
- x-client-secret
4646

4747
```bash
48-
curl --location --request POST 'http://localhost:9000/dev/proxy/orders/12345' \
48+
curl --location --request POST 'http://localhost:3000/dev/agnoStack/orders/12345' \
4949
--header 'x-organization-id: YOUR_ORGANIZATION_ID' \
5050
--header 'x-client-id: YOUR_CLIENT_ID' \
5151
--header 'x-client-secret: YOUR_CLIENT_SECRET' \

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ functions:
2727
memorySize: 3008
2828
events:
2929
- http:
30-
path: /proxy/{route+}
30+
path: /agnoStack/{route+}
3131
method: post
3232

3333
resources:

0 commit comments

Comments
 (0)