Skip to main content
POST
/
v1
/
proxy
Proxy request to connector
const options = {
  method: 'POST',
  headers: {
    'x-api-key': '<api-key>',
    'x-api-secret': '<api-key>',
    'x-connector-id': '<api-key>',
    'x-owner-id': '<api-key>',
    'x-session-token': '<api-key>',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({path: '<string>', method: 'GET', data: {}, query: {}, headers: {}})
};

fetch('https://api.runmorph.dev/v1/proxy', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
"<unknown>"

Authorizations

x-api-key
string
header
required
x-api-secret
string
header
required
x-connector-id
string
header
required
x-owner-id
string
header
required
x-session-token
string
header
required

Body

path
string
required
method
enum<string>
required
Available options:
GET,
POST,
PUT,
PATCH,
DELETE
data
object
query
object
headers
object

Response

OK

The response is of type unknown.