# apemanrequest

> HTTP client for serverside

Latest version **2.0.3** (published 2016-07-05) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install apemanrequest
pnpm add apemanrequest
yarn add apemanrequest
bun add apemanrequest
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2016-07-05 |
| First published | 2016-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Taka Okunishi |
| Maintainers | okunishinishi |
| Keywords | apeman, service, request |

## Links

- npm: https://www.npmjs.com/package/apemanrequest
- Repository: https://github.com/apeman-labo/apemanrequest
- Homepage: https://github.com/apeman-labo/apemanrequest#readme
- Issues: https://github.com/apeman-labo/apemanrequest/issues
- npm.io page: https://npm.io/package/apemanrequest

## Dependencies (4)

- [co](https://npm.io/package/co.md) ^4.6.0
- [argx](https://npm.io/package/argx.md) ^2.0.2
- [request](https://npm.io/package/request.md) ^2.72.0
- [apemanpromise](https://npm.io/package/apemanpromise.md) ^4.0.2

## Recent versions

- 2.0.3 (latest) — 2016-07-05
- 2.0.1 — 2016-06-29
- 2.0.0 — 2016-06-29
- 1.1.0 — 2016-04-24
- 1.0.1 — 2016-04-24
- 1.0.0 — 2016-04-24

## README

apemanrequest
==========

<!---
This file is generated by ape-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]

[bd_repo_url]: https://github.com/apeman-labo/apemanrequest
[bd_travis_url]: http://travis-ci.org/apeman-labo/apemanrequest
[bd_travis_shield_url]: http://img.shields.io/travis/apeman-labo/apemanrequest.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/apeman-labo/apemanrequest
[bd_travis_com_shield_url]: https://api.travis-ci.com/apeman-labo/apemanrequest.svg?token=
[bd_license_url]: https://github.com/apeman-labo/apemanrequest/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/apeman-labo/apemanrequest
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/apeman-labo/apemanrequest.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/apeman-labo/apemanrequest.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/apeman-labo/apemanrequest
[bd_gemnasium_shield_url]: https://gemnasium.com/apeman-labo/apemanrequest.svg
[bd_npm_url]: http://www.npmjs.org/package/apemanrequest
[bd_npm_shield_url]: http://img.shields.io/npm/v/apemanrequest.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

HTTP client for serverside

<!-- Description End -->


<!-- Overview Start -->
<a name="overview"></a>



<!-- Overview End -->


<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->

<a name="section-doc-guides-01-installation-md"></a>
Installation
-----

```bash
$ npm install apemanrequest --save
```


<!-- Section from "doc/guides/01.Installation.md.hbs" End -->

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>
Usage
---------

```javascript
'use strict'

const assert = require('assert')
const apemanrequest = require('apemanrequest')

// Send request
apemanrequest({
  url: 'http://example.com',
  method: 'GET'
}).then((res) => {
  assert.equal(res.statusCode, 200)
  console.log(res.body)
  /* ... */
})

// Define custom request to handle sessions
let myRequest = apemanrequest.create({
  jar: true
})

myRequest({
  url: 'http://example.com/sign',
  form: { /* ... */ }
}).then(() => {
  /* ... */
})
```


<!-- Section from "doc/guides/02.Usage.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/apeman-labo/apemanrequest/blob/master/LICENSE).

<!-- LICENSE End -->


<!-- Links Start -->
<a name="links"></a>

Links
------

+ [apeman](https://github.com/apeman-labo/apeman)
+ [request](https://github.com/request/request)

<!-- Links End -->

---
_Source: https://npm.io/package/apemanrequest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
