Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cedric05/dothttp-curlify
https://github.com/cedric05/dothttp-curlify
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cedric05/dothttp-curlify
- Owner: cedric05
- Created: 2021-01-29T14:39:18.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-16T01:09:04.000Z (over 3 years ago)
- Last Synced: 2024-10-05T23:21:12.026Z (3 months ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Main Project
With the rise in microservices, its hard to track outgoing request, its headers, its payload e.t.c ...
```http
/* response
@name('response')
POST https://httpbin.org/post
json({
"ram": "ranga"
})
*/// woudn't save request to database as no userinformation is saved
@name('request')
POST https://req.dothttp.dev/https://httpbin.org/post
json({
"ram": "ranga"})
/* response
@name('response')
POST https://httpbin.org/post
json({
"ram": "ranga"
})// this is where user woudn't want to save or add host
@name('request')
POST https://req.dothttp.dev/post
json({
"ram": "ranga"})
/* response
@name('response')
POST https://req.dothttp.dev/post
json({
"ram": "ranga"
})
*/
```User
1) User needs to be logged in## Tasks
- [x] accept POST
- [x] accept GET
- [x] accept HEAD
- [x] accept query
- [x] accept body
- [ ] accept filetypes
- [x] if Accept header has 'application/html' --> sends html response
- [ ] if Accept header has '*' --> sends html response
- [x] if Accept header is not defined --> sends plain text
- [x] if Accept header is not defined --> sends plain text