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":{}}'
};
fetch('https://api.runmorph.dev/v1/s/proxy', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));