Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fedek6/express-dump-all-api
Dummy API to dump any incoming request
https://github.com/fedek6/express-dump-all-api
api debug debugging fastify graphql rest
Last synced: 20 days ago
JSON representation
Dummy API to dump any incoming request
- Host: GitHub
- URL: https://github.com/fedek6/express-dump-all-api
- Owner: fedek6
- Created: 2023-02-06T10:20:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T11:41:27.000Z (over 1 year ago)
- Last Synced: 2024-11-10T07:36:37.182Z (3 months ago)
- Topics: api, debug, debugging, fastify, graphql, rest
- Language: TypeScript
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
Awesome Lists containing this project
README
![logo](1otri4.jpg)
# express-dump-all-api
Dummy API to dump all incoming request.
This is helpful when building some local APIs etc.
You send any request to `localhost:PORT` and you get debug output in your console.
## Example output:
```
🙉 Server is listening on 1500
👃 Incoming request: 1
Headers
{
"content-type": "application/json",
"user-agent": "PostmanRuntime/7.30.0",
"accept": "*/*",
"cache-control": "no-cache",
"postman-token": "53c77148-577e-4f99-b874-a1079c19bf63",
"host": "localhost:1500",
"accept-encoding": "gzip, deflate, br",
"connection": "keep-alive",
"content-length": "24"
}
Body
{
"mickeymouse": 1000233
}
Query params
{
"aaa": "bbb"
}
Info
{
"url": "/aaaa/?aaa=bbb",
"method": "POST",
"ip": "::1"
}
🏁 End of request: 1
```