Repro steps for issue dherault/serverless-offline#1151
Steps to reproduce:
- Clone repo:
git clone [email protected]:s16h/sls-offline-hanging-repro.git
- Go to repo:
cd sls-offline-hanging-repro
- Install dependencies:
npm install
- Run Serverless Offline:
sls offline start
- Send POST request:
curl -X POST http://localhost:3000/dev/test --verbose
- You'll see that the request hangs.
On the other hand, if you send a GET request (curl -X GET http://localhost:3000/dev/test --verbose
), you get a response as expected.