Skip to content

rita-plugin-http 1.1.1

Install from the command line:
Learn more about npm packages
$ npm install @educorvi/rita-plugin-http@1.1.1
Install via package.json:
"@educorvi/rita-plugin-http": "1.1.1"

About this version

Rita Plugin HTTP

Fetches an URL and expects an JSON object as response. This JSON object will then be used to enrich the data.

Usage

{
    "type": "plugin",
    "name": "http",
    "options": {
        "url": "https://example.com/api",
        "method": "POST",
        "limitTo": ["member", "visit.priceWithoutTax"]
    },
    "formula": {
        "type": "atom",
        "path": "keyInResponse"
    }
}

Options

  • url is the url to fetch from.
  • method (optional) is the HTTP method to use. Currently GET and POST are supported. When POST is selected, the current data will be passed via the requests body.
  • limitTo (optional) limits the keys that are send in the body when using POST. If undefined all properties will be posted.

Details


Assets

  • rita-plugin-http-1.1.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all