Module ambient_api::prelude::http
source · Expand description
[Server-only] HTTP-related functionality, including sending requests and receiving responses.
Structs
- Errors that can occur when making an HTTP request.
Functions
- Sends an HTTP GET request to the given URL, and returns the response body.
- Sends an HTTP POST request to the given URL, and returns the response body.