diff --git a/api/class_httprequest.rst b/api/class_httprequest.rst index 86208e6..5506bdd 100644 --- a/api/class_httprequest.rst +++ b/api/class_httprequest.rst @@ -40,7 +40,7 @@ Can be used to make HTTP requests, i.e. download or upload files or web content # Perform a POST request. The URL below returns JSON as of writing. # Note: Don't make simultaneous requests using a single HTTPRequest node. # The snippet below is provided for reference only. - var body = {"name": "Godette"} + var body = {"name": "Rebel"} error = http_request.request("https://httpbin.org/post", [], true, HTTPClient.METHOD_POST, body) if error != OK: push_error("An error occurred in the HTTP request.")