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
Use the following commands to test your newly created endpoints.
Note: You must replace the URLs in the examples below with those which are displayed after deploying. You can use the serverless info command to display the URLs if they are no longer on your screen.
Call the "single" endpoint using the GET method.
curl -X GET https://XXXXXXXXXX.execute-api.us-east-1.amazonaws.com/dev/single
Call the "single" endpoint using the POST method.
curl -X POST https://XXXXXXXXXX.execute-api.us-east-1.amazonaws.com/dev/single
Call the "multi/create" endpoint using the GET method.
curl -X GET https://XXXXXXXXXX.execute-api.us-east-1.amazonaws.com/dev/multi/create
Call the "multi/show" endpoint using the GET method and specifying an id path parameter of "42".
curl -X GET https://XXXXXXXXXX.execute-api.us-east-1.amazonaws.com/dev/multi/show/42
##Removal
Once you're all done with the serverless-starter project, use the following command to remove the project from AWS completely.