Browserflow
  • 👋🏽 Welcome to Browserflow
  • Guides
    • Building a flow
    • Running a flow
    • Debugging a flow
    • Sharing a flow
    • Automating Google websites
    • Keyboard shortcuts
    • Selectors
    • Variables
    • Input variables
    • Conditions
  • Browserflow Cloud
    • Running flows in the cloud
    • Loop Sheet flows
    • Saving files
    • Automating sites behind a login
    • API
    • Webhooks
    • Zapier
    • Troubleshooting
  • Reference
    • Browserflow commands
      • Interact with Page
        • Click
        • Type Text
        • Press Key
        • Scroll
        • Hover
        • Select Option
        • Set Date Input
        • Upload File
        • Handle Dialog
      • Extract Data
        • Get Element Text
        • Get Link URL
        • Get Page URL
        • Get Element Attribute
        • Get Element HTML
        • Get Clipboard
        • Save File
        • Take Screenshot
        • Generate PDF
      • Navigate
        • Visit
        • Go Back
        • Go Forward
        • Reload Page
      • Spreadsheet
        • Loop Spreadsheet Rows
        • Add Spreadsheet Row
        • Update Spreadsheet Row
        • Find Spreadsheet Row
      • Control Flow
        • Loop Elements
        • Loop Pages
        • Loop
        • Loop List Items
        • If
        • Else
        • While
        • End
        • Break
      • Tabs
        • Create Tab
        • Get Active Tab ID
        • Select Tab
        • Close Tab
      • Utilities
        • Run Script
        • Get Date
        • Wait
        • Wait for Element
        • Show Alert
        • Make HTTP Request
        • Assert
        • Run Flow
        • Comment
        • Solve Captcha
  • Support
    • Getting help
    • Common errors
  • Troubleshooting
    • Updating to the latest version
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. Browserflow commands
  3. Utilities

Make HTTP Request

Makes an HTTP request

URL

  • URL to send the HTTP request

Method

  • HTTP method (GET, POST, PUT, PATCH, or DELETE)

Query string

  • Query string to be added to the URL (e.g. http://example.com/?name=dk&age=29)

Headers

  • HTTP headers

    • Note: The Content-Type header is set automatically if the Body Type is JSON or Form

Body type

  • Type of the request body

    • None

      • Request has no body

    • JSON

      • You can either put in a literal JSON object or use JSON.stringify in a Run Script command to generate the JSON

      • The Content-Type header is automatically set to application/json

    • Form

      • The Content-Type header is automatically set to application/x-www-form-urlencoded

    • Raw

      • The Content-Type header is NOT automatically set and must be added to the Headers field

Body (applicable if Body Type is not None)

  • Request body

Variable to assign response

  • Name of the variable to store the response

    • The response is a plain object with three properties:

      • status: The status of the response

      • headers: The headers of the response

      • data: The body of the response

PreviousShow AlertNextAssert

Last updated 3 years ago

Was this helpful?

Tip: When building a flow that uses Make HTTP Request, use the to inspect the HTTP response

Variables tab in the console