Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fireblinkltd/fbl-plugins-http

FBL HTTP request plugin
https://github.com/fireblinkltd/fbl-plugins-http

Last synced: about 2 months ago
JSON representation

FBL HTTP request plugin

Awesome Lists containing this project

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 ` 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 `
- 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).