Use raw HTTP when you need a tenant-specific or newly discovered endpoint that
is not represented by a domain service yet. Raw requests use the same auth,
timeout, retry, and token-refresh behavior as service methods.
Sends a raw request through the client's HTTP layer.
Caution
Raw HTTP methods are not intended for production use. They are not typed, do not have any guardrails, and are provided for advanced use cases and testing. Where possible, use the domain services instead.
Input
GET | POST | PATCH | PUT | DELETE | HEAD | OPTIONS
required
HTTP method to send.
string
required
API path relative to the configured base URL, or an absolute URL.
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
QueryParams
optional
Query parameters appended to the URL.
unknown
optional
JSON body, FormData, URLSearchParams, string, ArrayBuffer, or Blob.
json | text | blob | arrayBuffer | raw
optional
Response parser override.
Default:json
Headers
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
HeadersInit
optional
Additional HTTP headers for custom or newly discovered endpoints.
string
optional
Sets the Idempotency-Key header for caller-managed retry safety.
Returns
Promise<TResponse>
optional
Parsed response. Raw request methods throw typed SDK errors instead of returning LinxioResult.
Sends a low-level GET request and returns the parsed response.
Caution
Raw HTTP methods are not intended for production use. They are not typed, do not have any guardrails, and are provided for advanced use cases and testing. Where possible, use the domain services instead.
Sends a low-level POST request. JSON-compatible objects are encoded
automatically.
Caution
Raw HTTP methods are not intended for production use. They are not typed, do not have any guardrails, and are provided for advanced use cases and testing. Where possible, use the domain services instead.
Input
string
required
Relative API path or absolute URL.
unknown
optional
Request body.
Headers
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
HeadersInit
optional
Additional HTTP headers.
string
optional
Sets the Idempotency-Key header for caller-managed retry safety.
Raw HTTP methods are not intended for production use. They are not typed, do not have any guardrails, and are provided for advanced use cases and testing. Where possible, use the domain services instead.
Input
string
required
Relative API path or absolute URL.
unknown
optional
Request body.
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
QueryParams
optional
Query parameters appended to the URL.
ResponseType
optional
Parser override.
Headers
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
HeadersInit
optional
Additional HTTP headers.
string
optional
Sets the Idempotency-Key header for caller-managed retry safety.
Raw HTTP methods are not intended for production use. They are not typed, do not have any guardrails, and are provided for advanced use cases and testing. Where possible, use the domain services instead.
Input
string
required
Relative API path or absolute URL.
unknown
optional
Request body.
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
QueryParams
optional
Query parameters appended to the URL.
ResponseType
optional
Parser override.
Headers
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
HeadersInit
optional
Additional HTTP headers.
string
optional
Sets the Idempotency-Key header for caller-managed retry safety.
Raw HTTP methods are not intended for production use. They are not typed, do not have any guardrails, and are provided for advanced use cases and testing. Where possible, use the domain services instead.
Input
string
required
Relative API path or absolute URL.
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
QueryParams
optional
Query parameters appended to the URL.
ResponseType
optional
Parser override.
Headers
object
optional
Object parameter. Expand to see child parameters.
Show child parameters
HeadersInit
optional
Additional HTTP headers.
Returns
Promise<TResponse>
optional
Parsed response body or undefined for 204 responses.