httpbin
httpbin copied to clipboard
Is POST and redirection supported?
I POSTed to this URL https://httpbin.org/absolute-redirect/3
But I got this response header. Is POST and redirection supported by httpbin? Thanks.
HTTP/1.1 405 METHOD NOT ALLOWED Access-Control-Allow-Credentials: true Access-Control-Allow-Origin: * Allow: OPTIONS, GET, HEAD Content-Type: text/html Date: Sat, 09 Nov 2019 20:10:11 GMT Referrer-Policy: no-referrer-when-downgrade Server: nginx X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block Content-Length: 178 Connection: keep-alive
@pengyu this url support only GET method
- https://github.com/postmanlabs/httpbin/blob/master/httpbin/core.py#L677
- https://httpbin.org/#/Redirects