From 21fd7f90e453dbe120f82d0e576ce16206c4e6d4 Mon Sep 17 00:00:00 2001 From: ThatKev <65928584+thatkev@users.noreply.github.com> Date: Tue, 15 Apr 2025 15:13:31 +0930 Subject: [PATCH] add whitelist note --- guide/Request/httpRequest_ai.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/guide/Request/httpRequest_ai.md b/guide/Request/httpRequest_ai.md index 8eeda949..e817688e 100644 --- a/guide/Request/httpRequest_ai.md +++ b/guide/Request/httpRequest_ai.md @@ -1,6 +1,10 @@ # $httpRequest -Make HTTP requests with custom content and headers, and retrieve the response. +Performs a HTTP request, with a content and headers and returns the response content. + +::: warning Warning +In order to use `$httpRequest`, the API you wish to use needs to be whitelisted. To request a whitelist, please open a ticket in our Support Server. +::: ## Usage @@ -46,4 +50,4 @@ This example demonstrates sending a POST request with JSON data to an API. $if[$httpRequestStatus!=200;Error: Request failed with status code $httpRequestStatus;Request successful: $response] ``` -* **Response Size Limit:** The response data must be less than 1 MB in size. Requests exceeding this limit will result in an error. \ No newline at end of file +* **Response Size Limit:** The response data must be less than 1 MB in size. Requests exceeding this limit will result in an error.