Body
Response
OK
The response is of type any
.
const url = 'https://api.runmorph.dev/v1/s/proxy';
const options = {
method: 'POST',
headers: {
'x-api-key': '<api-key>',
'x-api-secret': '<api-key>',
'Content-Type': 'application/json'
},
body: '{"path":"<string>","method":"GET","data":{},"query":{},"headers":{}}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
"<any>"
const url = 'https://api.runmorph.dev/v1/s/proxy';
const options = {
method: 'POST',
headers: {
'x-api-key': '<api-key>',
'x-api-secret': '<api-key>',
'Content-Type': 'application/json'
},
body: '{"path":"<string>","method":"GET","data":{},"query":{},"headers":{}}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
"<any>"
OK
The response is of type any
.