Skip to content

fr05t1k/http-debug-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-debug-server

The application provide ability to debug HTTP requests

Usage

http-debug-server -p 8081

and then:

curl -X POST -H 'X-Api-Key: secret' http://localhost:8081/test?foo=bar

Output:

2018/02/11 16:49:07 POST /test?foo=bar HTTP/1.1
Host: localhost:8081
Accept: */*
Content-Length: 2
Content-Type: application/x-www-form-urlencoded
User-Agent: curl/7.54.0
X-Api-Key: secret

{}