LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • HTTP
    • DELETE Request
    • GET Request
    • HEAD Request
    • PATCH Request
    • POST Request
    • PUT Request
  • Microsoft Excel
    • Clear the Worksheet Range
    • Create a Table on a Worksheet Range
    • Create a Worksheet Range in a Sheet
    • Delete a Column from the Table
    • Delete a Row from the Table
    • Get the Cell's Color
    • Get the Cell's Formula
    • Get the Cell's Value
    • Get the Column's Cells from the Table
    • Get the Column Count in a Table
    • Get the Column Count in a Worksheet Range
    • Get the File's Sheets
    • Get the Following Row Range In a Worksheet Range
    • Get the Row's Cells from the Table
    • Get the Row's Cells From the Worksheet Range
    • Get the Row Count in a Table
    • Get the Row Count in a Worksheet Range
    • Get the Sheet's Tables
    • Get the Sheet's Used Range
    • Get the Worksheet Range's Rows
    • Get the Worksheet Range from the Table
    • Insert a New Column in the Table
    • Insert a New Row in the Table
    • Read the Content from a Table
    • Read the Content from a Worksheet Range
    • Retrieve the Columns from the Table
    • Retrieve the Rows from the Table
    • Retrieve the Worksheet Range from a Table
    • Set the Cell's Content to a Value
    • Set the Cell's Formula to a Formula Value
    • Write the Content in a Table
    • Write the Content in a Worksheet Range
  • Microsoft Outlook
    • Delete Emails
    • Download an Attachment
    • Forward an Email
    • Get a User's Events
    • Get an Email's Attachments
    • Get Event's Attachments
    • Get Email Folders for a User
    • Get Email Folders
    • Get Events in Calendar
    • Get Events
    • Get Outlook Emails
    • Mark Emails
    • Move Outlook Emails
    • Reply to an Email
    • Send an Email
  • Microsoft SharePoint
    • Add a Column to a SharePoint List
    • Add an Item to a SharePoint List
    • Copy an Item to a Folder
    • Create a Folder in a Document Library
    • Create a Folder in Another Folder
    • Create a List in a SharePoint Site
    • Delete a Column from a List
    • Delete a List in SharePoint
    • Delete an Item from a List
    • Delete an Item from a Document Library
    • Download a File
    • Edit an Item
    • Get a Folder
    • Get a Folder's Items
    • Get a Root Folder from a Document Library
    • Get a SharePoint List as a Table
    • Get Items from a Document Library
    • Get Items from a SharePoint List
    • Get Document Libraries
    • Get Sites from SharePoint
    • Move an Item to a Folder
    • Rename a Column in a List
    • Rename a SharePoint List
    • Rename a SharePoint Item
    • Retrieve Column Definitions from a SharePoint List
    • Retrieve Lists within a SharePoint Site
    • Upload a File to a SharePoint Document Library
  • OpenWeather
    • Get the Current Temperature
  • Truckmate
    • Create An Order in Truckmate
    • Update An Order in Truckmate
  • Twilio
    • To Read Some SMS Messages
    • To Send an SMS Message
Powered by GitBook
On this page
  • Input Concepts
  • Output Concepts
  • Examples

Was this helpful?

Export as PDF
  1. HTTP

GET Request

This operation makes a GET request to a specified url.

This procedure is part of the HTTP Book (BDK). To use this book, you need to learn it in your agent first.

Input Concepts

Concept
Description
Type
Required

url

The URL to make the GET request to.

text

Yes

headers

The headers to include in the request. For example {"Authorization": "Bearer <token>"}. Note: If connect is set, the "Authorization" header will be added automatically to the request, and a manually set "Authorization" header will be ignored.

No

Output Concepts

Concept
Description
Type

answer

The response from the GET request.

file or list of or text

Examples

  1. Retrieve all posts

retrieve "https://jsonplaceholder.typicode.com/posts"
  1. Retrieve a post with an ID of 1

retrieve "https://jsonplaceholder.typicode.com/posts/1"
  1. Retrieve all posts by a user with an ID of 1

retrieve "https://jsonplaceholder.typicode.com/posts" whose "userId" is 1
  1. Retrieve all posts with an Authenticated header

create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
retrieve "https://jsonplaceholder.typicode.com/posts"
... the headers is the headers input

Last updated 1 month ago

Was this helpful?