# Test basic GET
curl localhost:3000/greet
# Test route parameters
curl localhost:3000/greet/Alice
# Test internal request
curl localhost:3000/test
# Test POST joke action
curl -X POST -H "Content-Type: application/json" -d '{"action": "joke"}' localhost:3000/action
# Test POST cat fact action
curl -X POST -H "Content-Type: application/json" -d '{"action": "cat fact"}' localhost:3000/action
# Test invalid body
curl -X POST -H "Content-Type: application/json" -d '{"invalid": "data"}' localhost:3000/action-
Notifications
You must be signed in to change notification settings - Fork 0
rel770/express-intro
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published