generated from mnapoli/project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Serverless.yml configuration:
functions:
test:
handler: test.php
events:
- httpApi:
method: POST
path: /test
I have started the server using the command, vendor/bin/bref-dev-server
I have called the endpoint by this URL, http://0.0.0.0:8000/test
I'm getting this error,
Error: Call to undefined method Closure::handle() in file /brefproject/vendor/bref/dev-server/src/Handler.php on line 47
Stack trace:
- Error->() /brefproject/vendor/bref/dev-server/src/Handler.php:47
- Bref\DevServer\Handler->handleRequest() /brefproject/vendor/bref/dev-server/src/server-handler.php:11
Please tell me how to resolve it.
Metadata
Metadata
Assignees
Labels
No labels
