Pipes
2024.80 Pipes
2024.80 Pipes
  • Introduction
  • Configuration
  • Valves
    • API
      • HTTP Response Format Valve
    • BankID
      • BidOperation
      • BidToItems
    • Cef event
    • Codecs
      • Base64 Encode
      • Base64 Decode
    • DateTime
      • Instant Generator
      • Instant Transformer
    • Debug
      • Dump Request
      • Dump Session
      • Dump State
      • Wait
    • Delivery
      • Clean Mobile Valve
      • SMS Valve
      • Voice Valve
      • SMTP Valve
    • EntraID
      • Users
        • Create User
        • Update User
        • Delete User
        • Get User
        • List Users
        • List Groups for a user
        • List Direct Reports
        • List Owned Objects
        • Reset Password
      • Groups
        • Create Group
        • Update Group
        • Delete Group
        • List Groups
      • Directory
        • Restore Deleted Item
    • Flow
      • Flow Fail
      • Flow State Add
      • Assert Value
      • Pipe Exec
      • Pipe Call
    • Freja
    • HTTP
      • GET
      • PUT
      • POST
      • DELETE
    • Item
      • Item Create
      • Item Merge
      • Item Remove
      • Items Remove
      • Item Property Add
      • Item Property Split
      • Item Property Rename
      • Item Property Token Replace
      • MV Property To Items
      • JSON To Items
      • MV Property Join
    • JDBC Query
    • JSON
      • JsonObjectCreate
    • JWT
      • CreateJwt
      • ParseJwt
    • LDAP
      • LDAP Search
      • LDAP Group Filter
      • LDAP Bind
      • LDAP Add
      • LDAP Delete
      • LDAP Modify
      • LDAP Move
      • DN Parse
    • Misc
      • Basic Auth
    • OTP
      • OTP Generation
      • OTP Validation
    • PKI
      • X509 Certificate Extractor
      • X509 Certificate Validator
      • Passcode Generator
    • Request
      • RequestParameterExist
      • RequestParameterRename
    • ScriptEval
    • MobilSITHS
    • Session
      • Session Put
      • Session Create
      • CopyFromSession
    • Tokens
      • Token Authentication
Powered by GitBook
On this page
  • Common configuration
  • Response
  1. Valves

HTTP

PreviousFrejaNextGET

HTTP request valves.

Requires module to be configured and deployed.

Valves are NOT part of the Item iteration API. To create Items from response use .

Common configuration

These configuration properties applies to all HTTP valves.

Name
Description
Default value
Mandatory
Expanded

url

Request URL.

N/A

destination

HttpClient instance to use.

"default"

headers

JSON map of request headers.

{}

parameters

JSON map of request parameters. Only applicable if "content_type" is "application/x-www-form-urlencoded"

{}

content

The body as a JSON object. Only applicable if "content_type" is "application/json"

{}

accept_404

If set to true the valve will NOT fail with a status code of 404.

false

{
  "name" : "<valve-name>",
  "config" : {
    "url" : "http://127.0.0.1:8080/echo",
    "destination" : "default",
    "headers": {
      "Accept": "application/json"
    },
    "parameters": {
      "id": "xxx"
    }
  }
}

Response

If request is successful (status 200) the response body and headers are set in the current flow state. If request fails, Pipe will fail with response text as reason.

Name
Description

headers

JSON map of response headers

body

If response body is of type application/json the data will be parsed as JSON. If it is of type text/* the data will be parsed as text. Otherwise it will be binary.

response_code

HTTP response code as an integer.

ItemCreateValve
HttpClient