Pipes
2025.9 Pipes
2025.9 Pipes
  • Introduction
  • Configuration
  • Valves
    • API
      • HTTP Response Format Valve
    • Azure
      • Get User
      • Get User Role
      • Is User in Group
    • BankID
      • BidOperation
      • BidToItems
    • Cef event
    • Codecs
      • Base64 Encode
      • Base64 Decode
      • Base64 Converter
    • DateTime
      • Instant Generator
      • Instant Transformer
      • MS Date to Instant Transformer
      • Instant to MS Date Transformer
    • Debug
      • Dump Exports
      • 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
        • Get Groups
        • List Groups
        • List Direct Reports
        • List Owned Objects
        • Reset Password
      • Groups
        • Create Group
        • Update Group
        • Delete Group
        • List Groups
        • Add Group To Users
        • Remove Group From Users
        • Add User To Groups
        • Remove User From Groups
        • Add Group Owner
        • Remove Group Owner
      • Directory
        • Restore Deleted Item
    • Exports
      • Exports Put
      • Exports Remove
    • Flow
      • Flow Fail
      • Flow State Add
      • Assert Value
      • Pipe Exec
      • Pipe Call
    • Freja
    • HTTP
      • GET
      • PUT
      • POST
      • DELETE
    • Item
      • Item Create
      • Item Merge
      • Item Match Merge
      • Item Remove
      • Items Remove
      • Item Property Add
      • Item Property Copy
      • Item Property Replace
      • Item Property Split
      • Item Property Rename
      • Item Property Hash
      • 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
    • Microsoft AD
      • Add Member To Groups
      • Remove Member From Groups
      • Add Group To Members
      • Remove Group From Members
      • GUID to string
    • Misc
      • Basic Auth
    • OTP
      • OTP Generation
      • OTP Validation
    • PKI
      • X509 Certificate Extractor
      • X509 Certificate Validator
      • Passcode Generator
    • PDF
      • Html2Pdf
      • PDFMerge
    • Request
      • RequestParameterExist
      • RequestParameterRename
    • ScriptEval
    • MobilSITHS
    • Session
      • Session Put
      • Session Create
      • CopyFromSession
    • Tokens
      • Token Authentication
    • WorkOrders
      • WorkOrderCreate
Powered by GitBook
On this page
  • Introduction
  • Configuration
  • Example for posting form data
  • Example for posting JSON data
  1. Valves
  2. HTTP

POST

PreviousPUTNextDELETE

Last updated 23 days ago

Introduction

Valve for performing HTTP POST requests.

Configuration

Valve name: HttpPost

Common HTTP valve configuration can be found .

Name
Description
Default value
Mandatory

content_type

Media type of content.

N/A

{
  "name" : "HttpPost",
  "config" : {
    "url" : "http://127.0.0.1:8080/echo",
    "destination" : "default",
    "parameters" : {
      "param_1_name" : "param_1_value",
      "param_2_name" : "param_2_value"
    },
    "headers" : {
      "X-Timestamp" : "2022-08-30T12:05:46.607408Z"
    },
    "content_type" : "application/x-www-form-urlencoded"
  }
}

Example for posting form data

{
    "name": "HttpPost",
    "config": {
        "url": "https://demo1827626.mockable.io/tenant1/oauth2/v2.0/token",
        "destination": "default",
        "parameters": {
            "client_id": "myid",
            "scope": "https%3A%2F%2Ftest.tenant1%2F.default",
            "client_secret": "mysecret",
            "grant_type": "client_credentials"
        },
        "content_type": "application/x-www-form-urlencoded"
    }
}

Example for posting JSON data

{
    "name": "HttpPost",
    "config": {
        "url": "https://demo1827626.mockable.io/tenant1/customers/find",
        "destination": "default",
        "content": {
            "personalIdentityNumber": "${request.ssn}"
        },
        "headers": {
            "Authorization": "Bearer ${state.body.access_token}"
        },
        "content_type": "application/json"
    }
}
here