spa_http_request
Send HTTP requests from browser sessions to interact with APIs while preserving cookies and authentication.
Instructions
Make an HTTP request using the browser context (includes cookies and auth).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL for HTTP request | |
| body | No | Request body (JSON string or form data) | |
| method | No | GET | |
| headers | No | Request headers | |
| session | No | Session ID | default |
| bearerToken | No | Bearer token for Authorization header |