> For the complete documentation index, see [llms.txt](https://zxdocs.gitbook.io/zhrxxlib/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zxdocs.gitbook.io/zhrxxlib/modules/utils/requests.md).

# requests

* **`get(url: &str) -> std::io::Result<String>`** Sends a GET request to the specified URL and returns the response as a `String`.
* **`post(url: &str, body: &str) -> std::io::Result<String>`** Sends a POST request to the specified URL with the provided body and returns the response as a `String`.
