Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Releases: OpenFn/language-http

Adds cheerio parser

01 Mar 22:33
Compare
Choose a tag to compare

Adds a parse(body, script) function to parse XML and HTML body contents using cheerio and cheerioTableParser

Adds optional parameters to requests and keepCookie to state

21 Feb 17:59
Compare
Choose a tag to compare
  • Now all functions supports optional request package settings
  • An optional keepCookie: true can be included inside the params object to add to the output state the cookie string from the current request

better tests, bugfix on setAuth

26 Sep 19:37
Compare
Choose a tag to compare
v1.0.5

enhanced test coverage, fixed setAuth

bug fixed for setURL

26 Sep 14:15
Compare
Choose a tag to compare
v1.0.4

bug fix for setUrl

setUrl function for endpoint handling

26 Sep 13:26
Compare
Choose a tag to compare

Includes a setUrl for handling endpoints whether a credential is being used or the user is manually including a path for the request

remove colors from output

25 Sep 17:19
Compare
Choose a tag to compare
v1.0.2

remove colors from output

handle jobs with no credential

25 Sep 16:53
Compare
Choose a tag to compare

and better auth construction + error handling.

new pattern, official 1.0

25 Sep 14:08
Compare
Choose a tag to compare

get, post, put, patch, and delete now all take a path, an object with params, and an optional callback.

get(
  "https://www.google.com",
  {},
  function(state) {
    return state
  }
);

Fail postData when response != 2XX

26 Jan 23:46
Compare
Choose a tag to compare
v0.4.0

fail when code != 200,201,202

added support for each

09 Dec 09:32
Compare
Choose a tag to compare
v0.3.3

add each