{"repo":"parnurzeal/gorequest","free":true,"listed":false,"github":"https://github.com/parnurzeal/gorequest","clone":"git clone https://github.com/parnurzeal/gorequest.git","description":"GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )","language":"Go","stars":3516,"topics":["go","gorequest","json","golang","library"],"license":"MIT","category":"dev-tools","readme_excerpt":"GoRequest ========= GoRequest -- Simplified HTTP client ( inspired by famous SuperAgent lib in Node.js ) \"Shooting Requests like a Machine Gun\" - Gopher Sending request has never been as fun nor easier than this. It comes with lots of features: Get/Post/Put/Head/Delete/Patch/Options Set - simple header setting JSON - made it simple with JSON string as a parameter Multipart-Support - send data and files as multipart request Proxy - sending request via proxy Timeout - setting timeout for a request TLSClientConfig - taking control over tls where at least you can disable security check for https RedirectPolicy Cookie - setting cookies for your request CookieJar - automatic in-memory cookiejar BasicAuth - setting basic authentication header more to come.. Installation Documentation See Go Doc or Go Walker for usage and details. Status Why should you use GoRequest? GoRequest makes thing much more simple for you, making http client more awesome and fun like SuperAgent + golang style usage. This is what you normally do for a simple GET without GoRequest: With GoRequest: Or below if you don't want to reuse it for other requests. How about getting control over HTTP client headers, redirect policy, and etc. Things can quickly get more complicated in golang. You need to create a Client, set headers in a different command, ... just to do only one GET Why make things ugly while you can just do it as follows: DELETE , HEAD , POST , PUT , PATCH are now supported and can be used in the same w","default_branch":null,"files":null,"tree":[],"storefront":"/r/parnurzeal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/parnurzeal/gorequest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}