Follows redirects. Not intended to be feature-rich. Use [request](https://github.com/mikeal/request) if you need something more.
A nicer interface to the built-in [`http`](http://nodejs.org/api/http.html) module that also follows redirects. Use [request](https://github.com/mikeal/request) if you need more.
## Install
## Install
@ -24,6 +24,28 @@ got('http://todomvc.com', function (err, data) {
```
```
### API
It's a `GET` request by default, but can be changed in `options`.
#### got(url, [options], [callback])
##### url
*Required*
Type: `string`
The url to request.
##### options
Type: `object`
Any of the [`http.request`](http://nodejs.org/api/http.html#http_http_request_options_callback) options.