Merge pull request #7481 from uinstinct/http-headers-docs
docs: add headers example in http context provider
This commit is contained in:
commit
0a0cee699c
1 changed files with 5 additions and 2 deletions
|
|
@ -335,6 +335,8 @@ The HttpContextProvider makes a POST request to the url passed in the configurat
|
|||
- provider: http
|
||||
params:
|
||||
url: "https://api.example.com/v1/users"
|
||||
headers:
|
||||
- Authorization: "Bearer <token>"
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
|
|
@ -409,7 +411,8 @@ You'll then be able to type "@" and see "MCP" in the context providers dropdown.
|
|||
## Deprecated Context Providers
|
||||
|
||||
<Note>
|
||||
To provide conext beyond the built-in context providers, we now recommend using [MCP Servers](/customization/mcp-tools)
|
||||
To provide conext beyond the built-in context providers, we now recommend
|
||||
using [MCP Servers](/customization/mcp-tools)
|
||||
</Note>
|
||||
|
||||
View the [deprecated context providers](/reference/deprecated-context-providers) for documentation on:
|
||||
|
|
@ -427,4 +430,4 @@ View the [deprecated context providers](/reference/deprecated-context-providers)
|
|||
- `@Issue` - GitHub issues
|
||||
- `@Url` - URL content
|
||||
- `@Search` - Codebase search
|
||||
- `@Web` - Web search results
|
||||
- `@Web` - Web search results
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue