Spy on HTTP requests
http_spyRecord HTTP requests from Roblox executor and game scripts, inspect methods, URLs, headers, bodies, status and responses, with sensitive auth values redacted before storage.
Instructions
Record the HTTP requests that scripts send: the executor's request functions (request, http_request, syn.request, ...) and game:HttpGet, HttpPost and HttpService calls. Each entry has the method, address, headers, body, status and answer. It sees the requests of the game and of any other script in the executor, but not the traffic between Superbase and its bridge. Authorization, cookie and token values (also in addresses) and the Roblox account cookie are replaced with before they are stored, and bodies are cut at max_body. Actions: start (optional max_calls, max_body, include_bodies, url_contains), get (optional since_id, url_contains, method, limit), stop, clear and status. Typical use: start, make the action happen, then get. Needs hookfunction or hookmetamethod in the executor and stays installed until the game is left. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | get: maximum requests to return, newest kept (default 30). | |
| action | Yes | What to do. | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| method | No | get: only this HTTP method, for example POST. | |
| max_body | No | start: characters kept of each body (default 500). | |
| since_id | No | get: only requests after this id (use the lastId of the previous result). | |
| max_calls | No | start: how many requests to keep (default 200). | |
| url_contains | No | start: only record addresses that contain this. get: only return those. | |
| include_bodies | No | start: keep request and response bodies (default true). |