sst.dev
sst.dev copied to clipboard
HELP: Test the API's
When I attempt to Test the API's as stated in: https://serverless-stack.com/chapters/test-the-apis.html
Specifically this command:
npx aws-api-gateway-cli-test \ --username='[email protected]' \ --password='Passw0rd!' \ --user-pool-id='YOUR_COGNITO_USER_POOL_ID' \ --app-client-id='YOUR_COGNITO_APP_CLIENT_ID' \ --cognito-region='YOUR_COGNITO_REGION' \ --identity-pool-id='YOUR_IDENTITY_POOL_ID' \ --invoke-url='YOUR_API_GATEWAY_URL' \ --api-gateway-region='YOUR_API_GATEWAY_REGION' \ --path-template='/notes' \ --method='POST' \ --body='{"content":"hello world","attachment":"hello.jpg"}'
After filling in the required info I'm getting this error:
npx: installed 106 in 2.889s Authenticating with User Pool Getting temporary credentials Making API request { status: 404, statusText: 'Not Found', data: { message: 'No method found matching route notes%E2%80%98notes%E2%80%99 for http method POST.' } }
PLEASE HELP.
Hey there, do you mind posting this here - https://discourse.serverless-stack.com/t/comments-for-test-the-apis/122
We can help you there.
It’s been solved! Thank you for updating me though!
Sent from my iPhone
On Jan 25, 2019, at 6:52 PM, Jay V [email protected] wrote:
Hey there, do you mind posting this here - https://discourse.serverless-stack.com/t/comments-for-test-the-apis/122
We can help you there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
It’s been solved! Thank you for updating me though! … Sent from my iPhone On Jan 25, 2019, at 6:52 PM, Jay V @.***> wrote: Hey there, do you mind posting this here - https://discourse.serverless-stack.com/t/comments-for-test-the-apis/122 We can help you there. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
How did you solve it!? I got the same error..
It’s been solved! Thank you for updating me though! … Sent from my iPhone On Jan 25, 2019, at 6:52 PM, Jay V @.***> wrote: Hey there, do you mind posting this here - https://discourse.serverless-stack.com/t/comments-for-test-the-apis/122 We can help you there. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
How did you solve it!? I got the same error..
@abhinavjonnada82 could u solve the error ? I am facing the same issue again :(