ÃÛ¶¹ÊÓƵ

HTTP > Other modules

NOTE
ÃÛ¶¹ÊÓƵ Workfront Fusion requires an ÃÛ¶¹ÊÓƵ Workfront Fusion license in addition to an ÃÛ¶¹ÊÓƵ Workfront license.

The ÃÛ¶¹ÊÓƵ Workfront Fusion HTTP app provides various modules for communication based on Hypertext Transfer Protocol (HTTP) protocol. HTTP is the foundation of data communication for the World Wide Web. You can use the modules to download web pages and files, call webhooks and API endpoints, and so on.

The right choice of the module depends on the authentication/ authorization mechanism the resource you want to access employs. The following are examples of modules

  • Make a request:universal module primarily intended for resources not employing any type of authentication/ authorization
  • Make a Basic Auth request:for resources employing HTTP Basic authentication (BA)
  • Make a OAuth 2.0 request: for resources employing OAuth 2.0 authorization protocol
  • Make a Client Certificate Auth request: for resources employing authorization protocol that requires a client-side certificate.
  • Make an API Key authorization request: for resources employing API Keys for authorization.
NOTE
If you are connecting to an ÃÛ¶¹ÊÓƵ product that does not currently have a dedicated connector, we recommend using the ÃÛ¶¹ÊÓƵ Authenticator module.
For more information, see ÃÛ¶¹ÊÓƵ Authenticator module.

Request modules

See the following articles for specific request module instructions:

Other action modules

Get a File

This action module downloads a file from the specified URL. After the file is downloaded, you can further process the file (map the file data) using other modules in the scenario.

URL
Enter or map the URL of the file you want to download.

Resolve a target URL

This action module resolves a chain of HTTP redirects and returns a target URL.

URL
Enter or map the URL you want to resolve, such as a bit.ly URL.
Method
Select whether you want to use the HEAD method or the GET method.

Iterator modules

Retrieve headers

This module returns each header (name and value) from the specified HTTP module in a separate bundle.

Source Module
Select the module you want to retrieve headers from.

Generating JSON Web Tokens (JWT)

It is possible to generate a JWT token with the help of built-in functions:

Header:

Code for copy&paste:

{{replace(replace(replace(base64("{""alg"":""HS256"",""typ"":""JWT""}"); "/=/g"; emptystring); "/\+/g"; "-"); "/\//g"; "_")}}

Payload:

Code for copy&paste:

{{replace(replace(replace(base64("{""iss"":""key"",""exp"":" + (timestamp + 60) + "}"); "/=/g"; emptystring); "/\+/g"; "-"); "/\//g"; "_")}}

Token:

Code for copy&paste:

{{1.value}}.{{2.value}}.{{replace(replace(replace(sha256(1.value + "." + 2.value; "base64"; "secret"); "/=/g"; emptystring); "/\+/g"; "-"); "/\//g"; "_")}}
recommendation-more-help
5f00cc6b-2202-40d6-bcd0-3ee0c2316b43