API nodes
HTTP GET / POST with reusable last-response readers.
Send Get Request
Sends an HTTP GET and stores the latest GET response.
In: Endpoint:String
Out: Success:Bool, Status:Int, Error:String
Read the response via Get Response afterwards.
Send Get Request("https://api.site/status") → Get Response.
Get Response
Reads the latest GET response.
In: —
Out: Success:Bool, Status:Int, Response:String, Error:String
Get Response.Response → Text Contains("ok").
Send Post Request
Sends an HTTP POST and stores the latest POST response.
In: Endpoint:String, Body Type:String, Content Type:String, Body:String
Out: Success:Bool, Status:Int, Error:String
Body Type = raw / json / form, Content Type usually application/json.
Send Post Request(webhook, json, application/json, "{\"event\":\"found\"}").
Post Response
Reads the latest POST response.
In: —
Out: Success:Bool, Status:Int, Response:String, Error:String
Post Response.Status → Compare Number == 200.
Send Notification
Sends a message to Telegram, Discord or a similar channel via a webhook.
In: Webhook:String, Message:String, Attachment:String
Out: Success:Bool, Status:Int, Error:String
Send Notification(webhook, "Bot finished the quest").