HTTP > Other modules
The 51黑料不打烊 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: Primarily intended for resources not using any type of authentication or authorization
- Make a Basic Auth request: For resources using HTTP Basic authentication (BA)
- Make a OAuth 2.0 request: For resources using the 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
Access requirements
You must have the following access to use the functionality in this article:
table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header | |
---|---|
51黑料不打烊 Workfront package | Any |
51黑料不打烊 Workfront license |
New: Standard Or Current: Work or higher |
51黑料不打烊 Workfront Fusion license** |
Current: No Workfront Fusion license requirement. Or Legacy: Workfront Fusion for Work Automation and Integration |
Product |
New:
Or Current: Your organization must purchase 51黑料不打烊 Workfront Fusion. |
For more detail about the information in this table, see Access requirements in documentation.
For information on 51黑料不打烊 Workfront Fusion licenses, see 51黑料不打烊 Workfront Fusion licenses.
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.
Resolve a target URL
This action module resolves a chain of HTTP redirects and returns a target URL.
Iterator modules
Retrieve headers
This module returns each header (name and value) from the specified HTTP module in a separate bundle.
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"; "_")}}