Documentation Index
Fetch the complete documentation index at: https://docs.kynesys.xyz/llms.txt
Use this file to discover all available pages before exploring further.
How to make GET and POST requests with custom headers using the DAHR proxy.
Documentation Index
Fetch the complete documentation index at: https://docs.kynesys.xyz/llms.txt
Use this file to discover all available pages before exploring further.
const response = await dahr.startProxy({
url: "https://api.example.com",
method: "GET",
})
const response = await dahr.startProxy({
url: "https://api.example.com",
method: "POST",
options: {
payload: {
key: "value"
},
headers: {
Accept: "application/json"
}
}
})
const response = await dahr.startProxy({
url: "https://api.example.com",
method: "GET",
options: {
payload: {
key: "value"
},
headers: {
Authorization: "Bearer token",
"Custom-Header": "value"
}
}
})