HTTP

Prerequisites

To use the HTTP Book, you must first learn it in your agent.


URL Manipulation

Convert Text to a URL

To convert a text string to a URL, use the following commands:

get the text "example.com"
get the text as a url
the text is "www.example.com/page"
get the text as a url
get the text as a url with
    the text is "https://www.example.com"
get the text as an url where
    the text is "https://www.example.com"

Create a URL

To create a URL with specific components, use the following commands:

create a url with
    the domain is "api.example.com"
create a url with
    the domain is "api.example.com"
    the path is "/images"
    the query is '{"search": true}'
    the scheme is "https"

Last updated

Was this helpful?