This is a great tool and really useful to me! Thanks for that.
A webhook I was using sent me a POST request with content type application/json, but the proxy to localhost function of this tool forwards requests with application/x-www-form-urlencoded. This PR reads the content type of the incoming request and forwards it to localhost in the corresponding format if it is JSON data.
This is a great tool and really useful to me! Thanks for that.
A webhook I was using sent me a POST request with content type
application/json
, but the proxy to localhost function of this tool forwards requests withapplication/x-www-form-urlencoded
. This PR reads the content type of the incoming request and forwards it to localhost in the corresponding format if it is JSON data.Hope this helps!