Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
README formatting
  • Loading branch information
aron committed Mar 26, 2025
commit 6c0a5c8ffc4fec8db6e0a4f4df891f2023691b39
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1213,14 +1213,14 @@ Low-level method used by the Replicate client to interact with API endpoints.
const response = await replicate.request(route, parameters);
```

| name | type | description |
| -------------------- | ------ | ------------------------------------------------------------ |
| `options.route` | `string` | Required. REST API endpoint path. |
| `options.params` | `object` | URL query parameters for the given route. |
| `options.method` | `string` | HTTP method for the given route. |
| `options.headers` | `object` | Additional HTTP headers for the given route. |
| `options.data` | `object | FormData` | Request body. |
| `options.signal` | `AbortSignal` | Optional `AbortSignal`. |
| name | type | description |
| -------------------- | ------------------- | ----------- |
| `options.route` | `string` | Required. REST API endpoint path.
| `options.params` | `object` | URL query parameters for the given route. |
| `options.method` | `string` | HTTP method for the given route. |
| `options.headers` | `object` | Additional HTTP headers for the given route. |
| `options.data` | `object | FormData` | Request body. |
| `options.signal` | `AbortSignal` | Optional `AbortSignal`. |

The `replicate.request()` method is used by the other methods
to interact with the Replicate API.
Expand Down