SAM local API: "long lived" (server / daemon) mode #2535
Labels
feature-request
New feature or enhancement. May require GitHub community feedback.
lambda
sam
service:apigateway
Problem
When local invoking a APIGateway Lambda, the Toolkit always started the local api only for the lifetime of the request or debug session. Customers may want the API to stay running so they can make other requests (for example via
curl
, postman, vscode-restclient, ...).Use cases
curl
, ...) to send requests to the local API endpoint.Expected behavior
AWS: Start Local API
command to start a local API.AWS: Start Local API
AWS: Stop Local API
Stop
Copy URL
Send request
(?)Attach to an already-running local API
Requested in #2455 (comment) :
sam local start-api
endpoint is already running... :invokeTarget.type = "api"
variant:logicalId
,api
,payload
AWS: Debug Local API
to attach to an already runningstart-api
docker ps
?) ?curl
or a REST/HTTP client...The text was updated successfully, but these errors were encountered: