# @fbl-plugins/http

> fbl plugin to make http requests

Latest version **1.5.1** (published 2021-06-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fbl-plugins/http
pnpm add @fbl-plugins/http
yarn add @fbl-plugins/http
bun add @fbl-plugins/http
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.5.1 |
| Published | 2021-06-15 |
| First published | 2018-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 62.2 KB |
| Known vulnerabilities | 0 (+9 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | FireBlink LTD |
| Maintainers | vlad-tkachenko |
| Keywords | fireblink, fbl, plugin, plugins, rest, http, https, client, cli, automation, upload, download |

## Links

- npm: https://www.npmjs.com/package/@fbl-plugins/http
- Repository: https://github.com/FireBlinkLTD/fbl-plugins-http
- Homepage: https://github.com/FireBlinkLTD/fbl-plugins-http#readme
- Issues: https://github.com/FireBlinkLTD/fbl-plugins-http/issues
- npm.io page: https://npm.io/package/@fbl-plugins/http

## Dependencies (8)

- [got](https://npm.io/package/got.md) 11.8.2
- [joi](https://npm.io/package/joi.md) 17.4.0
- [form-data](https://npm.io/package/form-data.md) 4.0.0
- [mime-types](https://npm.io/package/mime-types.md) 2.1.31
- [superagent](https://npm.io/package/superagent.md) ^6.1.0
- [user-agents](https://npm.io/package/user-agents.md) 1.0.684
- [stream-buffers](https://npm.io/package/stream-buffers.md) 3.0.2
- [@types/superagent](https://npm.io/package/@types/superagent.md) 4.1.11

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.5.1 (latest) — 2021-06-15
- 1.5.0 — 2021-01-22
- 1.4.1 — 2020-09-07
- 1.4.0 — 2020-09-07
- 1.4.0-beta.0 — 2020-09-02
- 1.3.0 — 2020-04-23
- 1.2.0 — 2019-10-09
- 1.1.3 — 2019-09-12
- 1.1.2 — 2019-08-10
- 1.1.1 — 2019-07-23
- 1.1.0 — 2019-03-29
- 1.0.4 — 2019-01-15
- 1.0.3 — 2018-12-17
- 1.0.2 — 2018-12-11
- 1.0.1 — 2018-12-06
- … 2 more at https://npm.io/package/@fbl-plugins/http/versions

## README

# FBL Plugins: HTTP Request

Make REST calls. Submit forms, upload and download files through HTTP(s) protocol. All these and a little bit more you can do with HTTP plugin for [fbl](https://fbl.fireblink.com).

[![Tests](https://github.com/FireBlinkLTD/fbl-plugins-http/workflows/Tests/badge.svg)](https://github.com/FireBlinkLTD/fbl-plugins-http/actions?query=workflow%3ATests)
[![Known Vulnerabilities](https://snyk.io/test/github/FireBlinkLTD/fbl-plugins-http/badge.svg)](https://snyk.io/test/github/FireBlinkLTD/fbl-plugins-http)
[![codecov](https://codecov.io/gh/FireBlinkLTD/fbl-plugins-http/branch/master/graph/badge.svg)](https://codecov.io/gh/FireBlinkLTD/fbl-plugins-http)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/FireBlinkLTD/fbl-plugins-http.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/FireBlinkLTD/fbl-plugins-http/alerts/)
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/FireBlinkLTD/fbl-plugins-http.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/FireBlinkLTD/fbl-plugins-http/context:javascript)

## Integration

There are multiple ways how plugin can be integrated into your flow.

### package.json

This is the most recommended way. Create `package.json` next to your flow file with following content:

```json
{
  "name": "flow-name",
  "version": "1.0.0",
  "description": "",
  "scripts": {
    "fbl": "fbl"
  },
  "license": "UNLICENSED",
  "dependencies": {
    "@fbl-plugins/http": "1.1.1",
    "fbl": "1.8.0"
  }
}
```

Then you can install dependencies as any other node module `yarn install` depending on the package manager of your choice.

After that you can use `yarn fbl <args>` to execute your flow or even register a custom script inside "scripts".

### Global installation

`npm i -g @fbl-plugins/http`

### Register plugin to be accessible by fbl

- via cli: `fbl -p @fbl-plugins/http <args>`
- via flow:

```yaml
requires:
  fbl: '>=1.8.0'
  plugins:
    '@fbl-plugins/http': '>=1.1.1'

pipeline:
  # your flow goes here
```

## Documentation

Read more [here](docs/README.md).

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