postmanlabs / httpbin

HTTP Request & Response Service, written in Python + Flask.
https://httpbin.org
ISC License
12.81k stars 1.81k forks source link

allow all methods on /headers #248

Closed mrtazz closed 7 years ago

mrtazz commented 9 years ago

it would be nice to be able to test methods besides GET for custom headers. Right now all the others just get a 405 back. My use case is that I'm using httpbin as the unit test target for http://code.mrtazz.com/restclient-cpp/

danielstocks commented 9 years ago

:+1:

This would be very useful. I'd like to be able to do POST/PUT request to /headers for instance