1.1.4 • Published 11 months ago

@educorvi/rita-plugin-http v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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.
1.1.4

11 months ago

1.1.3

1 year ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago