Skip to content

POST Request

Description

Creates a post request to a rest service

Input Ports

Name dataType sourceType required description
Request URL text link-manual true The path to the rest service
Headers dataItem link-manual false Headers are an important part of the API request and response as they represent the meta-data associated with the API request and response.
Payload long-text link-manual false The payload contains key values that should be created inside of a database, it can also be used to sent authentication payloads to receive tokens
Header options
Type Description
Authorization Carries credentials containing the authentication information of the client for the resource being requested.
WWW-Authenticate This is sent by the server if it needs a form of authentication before it can respond with the actual resource being requested. Often sent along with a response code of 401, which means ‘unauthorized’.
Accept-Charset This is a header which is set with the request and tells the server about which character sets are acceptable by the client.
Content-Type Indicates the media type (text/html or text/JSON) of the response sent to the client by the server, this will help the client in processing the response body correctly.
Cache-Control This is the cache policy defined by the server for this response, a cached response can be stored by the client and re-used till the time defined by the Cache-Control header.
  • If the service requires a JWT Token to authenticate, you are required to specify the Authotization header value with a Bearer token.
    authorization
Payload parameters
  • The object the rest service will be expecting to create rows inside of the database, it can also be used to authenticate and retrieve a JWT Token
    bodyParameters

Scenarios

  • The user wants to create a row inside a database using a servers rest service
  • The user wants to authenticate with a server and retrieve a JWT Token

Use case

Command

Inputs
  • Request URL: https://example/api
  • Headers:
    bodyParameters
  • Payload:
    bodyParameters
Experienced tips
  • If the rest service is public, it is not required to specify the JWT token inside of the Headers
Output

Output

Search Tags

Create rows inside of database using a rest service Get a server token