ZHRXXLib
  • Quickstart
  • modules
    • error
      • ErrorSeverity
    • event
    • utils
      • logger
      • os_
      • requests
      • buffer
      • useful
Powered by GitBook
On this page
  1. modules
  2. utils

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.

Previousos_Nextbuffer

Last updated 8 months ago