Search

2/26/2013

http://httpbin.org/

http://httpbin.org/

/ This page. /ip Returns Origin IP. /user-agent Returns user-agent. /headers Returns header dict. /get Returns GET data. /post Returns POST data. /put Returns PUT data. /delete Returns DELETE data /gzip Returns gzip-encoded data. /status/:code Returns given HTTP Status code. /response-headers?key=val Returns given response headers. /redirect/:n 302 Redirects n times. /relative-redirect/:n 302 Relative redirects n times. /cookies Returns cookie data. /cookies/set?name=value Sets one or more simple cookies. /basic-auth/:user/:passwd Challenges HTTPBasic Auth. /hidden-basic-auth/:user/:passwd 404'd BasicAuth. /digest-auth/:qop/:user/:passwd Challenges HTTP Digest Auth. /stream/:n Streams n–100 lines. /delay/:n Delays responding for n–10 seconds. /html Renders an HTML Page. /robots.txt Returns some robots.txt rules. /deny Denied by robots.txt file.

沒有留言: