GET Request

Deprecated Book

Retrieve a File at a URL

To retrieve a file from a specified URL, use the following syntax:

the string is "https://example.com/data/report.pdf"
get a file at the string
the string is "http://www.example.org/images/photo.png"
get a file at the string
the url is "http://www.example.org/images/photo.png"
get a file at the url

Send a GET Request

To send a GET request to a specified URL, use the following commands:

the url is "https://api.example.com/data"
send a GET request to the url
the request's response
the url is "https://api.example.com/data"
the query text is "{\"key\": \"value\"}"
the header is "{\"Authorization\": \"Bearer token\"}"
the timeout is 30
send a GET request to the url with
    the query text
    the header
    the timeout
the request's response
the url is "https://api.example.com/upload"
get the file
send a GET request to the url with
    the data is the file
the request's response

Last updated

Was this helpful?