ProcessMIX Guide
  • Platform Overview
    • Introduction
    • Platform Purpose
    • Main Concepts
      • Organization Structure
      • Visual Language
      • Project Development Environment (IDE)
      • Deployment and Integration
      • Administration and Troubleshooting
    • First Steps
    • Change Log
      • 5.0.0
      • 5.0.5
      • 5.0.5.1
      • 5.0.5.2
      • 5.0.5.3
      • 5.0.5.4
  • Language Reference Guide
    • Overview
    • Data Structures and Types
      • Core Types (pdk.core)
      • Dictionary (pdk.asset.dictionary)
      • Scorecard (pdk.asset.scorecard)
      • Blockchain (pdk.blockchain)
      • Exceptions (pdk.ex)
      • Input/Output (pdk.io)
      • JSON Web Token (pdk.jwt)
      • Networking (pdk.net)
      • HTTP (pdk.net.http)
      • SOAP/Web Services (pdk.net.soap)
      • XML/DOM (pdk.net.xml)
      • S3 (pdk.s3)
      • SQL (pdk.sql)
      • Postgres (pdk.db.postgre)
      • Util (pdk.util)
      • Default Data Structure Field Values
    • Flows
      • Variables
        • Local Flow Variables
        • Node Variables
      • Flow Node Types
        • Core Nodes
          • In
          • Out
          • Assign
          • If
          • Switch
          • Iterator
          • Function Call
          • Subflow
          • Raise Exception
          • Exception Handler
          • Validator
        • Connector Nodes
          • Database Begin Transaction
          • Database Commit Transaction
          • Database Rollback Transaction
          • Database Query Executor
          • EVM Blockchain Functions
          • EVM Blockchain Smart Contract Functions
          • REST Service Executor
          • SOAP Service Executor
          • S3 Connector
          • SMB Connector
      • Expressions
      • Built-In Functions
        • Expression functions
          • pdk.util.Any
          • pdk.util.Array
          • pdk.util.Blockchain
          • pdk.util.Cast
          • pdk.util.Codec
          • pdk.util.Crypto
          • pdk.util.Date
          • pdk.util.File
          • pdk.util.Json
          • pdk.util.JWT
          • pdk.util.Map
          • pdk.util.Math
          • pdk.util.String
          • pdk.util.Util
        • Node functions
          • pdk.flow.Any
          • pdk.flow.Array
          • pdk.flow.File
          • pdk.flow.JsonArray
          • pdk.flow.JsonObject
          • pdk.flow.HttpRequest
          • pdk.flow.HttpResponse
          • pdk.flow.Logger
          • pdk.flow.Map
          • pdk.flow.Xml
            • pdk.flow.xml.XmlAttr
            • pdk.flow.xml.XmlElement
            • pdk.flow.xml.XmlNode
            • pdk.flow.xml.XmlDocument
            • pdk.flow.xml.XmlDocumentType
            • pdk.flow.xml.XmlDOMConfiguration
            • pdk.flow.xml.XmlDOMImplementation
            • pdk.flow.xml.XmlProcessingInstruction
            • pdk.flow.xml.XmlTypeInfo
            • pdk.flow.xml.XmlCharacterData
            • pdk.flow.xml.XmlText
            • pdk.flow.xml.XmlNamedNodeMap
          • pdk.node.BlockchainEth
          • pdk.node.S3
          • pdk.node.Smb
      • Exceptions
        • Checked Exceptions
        • Runtime Exceptions
    • Assets
      • Dictionary
      • Decision Table
      • Scorecard
      • PMML
    • Connectors
      • DB Connector
        • Prepared Query
        • Dynamic Query
        • Query input parameters
        • Stored Procedure
      • REST Connector
      • SOAP Connector
      • S3 Connector
      • SMB Connector
      • EVM Blockchain Connector
    • Global Variables
    • Appendices
      • Overview of Database Transactions
      • Reserved Words
  • Project Development Environment (IDE)
    • Project Explorer Panel
    • Flow Builder
    • Flow Node Editor
    • Data Structure Builder
    • Connector Builders
      • REST Connector Builder
      • SOAP Connector Builder
      • DB (Database) Connector Builder
      • EVM Blockchain Connectors Builder
      • S3 Connector Builder
    • Asset Builders
      • Dictionary Builder
      • Decision Table Builder
      • Scorecard Builder
      • PMML Asset Builder
    • Global Variables Panel
    • Expression Editor
    • Project Deployment and Execution
    • Cron Expression Generator
    • Test Helper
    • Debugging the Project
    • DB transactions
    • Team Collaboration Tools
      • Version Control
      • Conflict Resolver
    • Selectors
    • Error Panel
    • Local History
  • Home and Administration Guide
    • Organization and Subscription
    • Organization Team
    • Repositories and Projects
    • Environments
    • Deployments
    • Database Provisioning
    • Roles and Permissions
  • Logs and Troubleshooting
    • Request/Call Logs
    • Deployment Logs
    • Application Logs
  • Appendix: Example Project
    • Risk Mitigation Solution
Powered by GitBook
On this page
  • All functions
  • getHeader
  • getHeaderValue
  • getHeaderValues
  • isHeaderExists
  • getCookie
  • isCookieExists
  1. Language Reference Guide
  2. Flows
  3. Built-In Functions
  4. Node functions

pdk.flow.HttpRequest

Contains functions that can be applied to HttpRequest structures

Previouspdk.flow.JsonObjectNextpdk.flow.HttpResponse

Last updated 1 year ago

All functions


getHeader

Gets a header by name. If the request contains multiple headers with the same name, only the first will be returned.

Arguments:

  • request ::

  • headerName ::

Result:

  • output :: - header or NULL if it doesn't exist

Possible exceptions


getHeaderValue

Gets the value of a header by name. If the request contains multiple headers with the same name, only the first value will be returned.

Arguments:

Result:

Possible exceptions


getHeaderValues

Get header values by name. Use this function in case of multiple headers with the same name.

Arguments:

Result:

Possible exceptions


isHeaderExists

Determines whether the header exists in the request.

Arguments:

Result:

Possible exceptions


getCookie

Gets a cookie by name.

Arguments:

Result:

Possible exceptions


isCookieExists

Determines whether the cookie exists in the request.

Arguments:

Result:

Possible exceptions

- throws an error if at least one argument is NULL

request ::

headerName ::

output :: - Header value as String or NULL if it doesn't exist

- throws an error if at least one argument is NULL

request ::

headerName ::

output :: <> - Header values in String format , or NULL if the header doesn't exist.

- throws an error if at least one argument is NULL

request ::

headerName ::

output :: - true if the header exists

- throws an error if at least one argument is NULL

request ::

cookieName ::

output :: - cookie or NULL if it doesn't exist

- throws an error if at least one argument is NULL

request ::

cookieName ::

output :: - true if the cookie exists

- throws an error if at least one argument is NULL

getHeader
getHeaderValue
getHeaderValues
isHeaderExists
getCookie
isCookieExists
NullPointerException
NullPointerException
NullPointerException
NullPointerException
NullPointerException
NullPointerException
pdk.net.http.Request
pdk.net.http.Request
pdk.net.http.Request
pdk.net.http.Request
pdk.net.http.Cookie
pdk.net.http.Request
pdk.net.http.Request
pdk.net.http.Header
pdk.core.String
pdk.core.String
pdk.core.String
pdk.core.String
pdk.core.Array
pdk.core.String
pdk.core.String
pdk.core.Boolean
pdk.core.String
pdk.core.String
pdk.core.Boolean