BP Function: HTTP Request

Perform Authentication (UMG Browser) Node


A generic HTTP request. Can be used to fetch web pages, content from REST APIs (e.g. to obtain Patreon data not currently supported by the other nodes), etc.


Inputs

  • URI

    String

    URI to request.

  • Verb

    String

    HTTP method, e.g. GET, POST, PUT, etc.

  • Payload

    String

    Additional payload data to include with the request. How this is handled depends on Verb.

    For example, if Verb is GET, then the payload will be appended to the URI as URL params. If the Verb is POST, the payload will be included in the request body.

  • Headers

    Map of Strings to Strings

    Optional. Any entries included here will be added to the headers of the request.

Outputs

  • Main Execution Pin (at the top)

    Execution will immediately continue from this pin while the authentication process continues in the background. Do not use execution flowing from this pin to check for the results, they aren't ready yet!

  • Async Action

    This is a reference to the action running in the background. You can use this to cancel the request if you decide you actually don't need the results before it has completed.

  • On Complete

    When the request has completed successfully, execution will flow from this pin.

  • On Fail

    If the authentication process fails for any reason, execution will flow from this pin.

  • Response Code

    Integer

    The HTTP response code the request returned.

  • Response String

    String

    The response content as a string.






For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com