selene.http
Provides HTTP functionality for making web requests.
| Function |
|---|
Post(url: string, body: string | table): { success: boolean; status: number; body: string }Post(url: string, body: string | table, headers: table): { success: boolean; status: number; body: string } |
Sends an HTTP POST request to the specified URL with optional body and headers.
Returns a response table containing status code, body text, and success flag. |