I want to have an option to proxy all requests from /api/* to https://my-api/*. Is it possible in our library? or our library only supports mocking, not proxying?
The wanted API could be an object handler like this
...handlers
{
path: '/api/*',
proxy: "https://my-api/*"
}
I've tried really hard to find in the docs but couldn't find any solution, whereas reading this article makes me think this's doable.
I want to have an option to proxy all requests from
/api/*tohttps://my-api/*. Is it possible in our library? or our library only supports mocking, not proxying?The wanted API could be an object handler like this
I've tried really hard to find in the docs but couldn't find any solution, whereas reading this article makes me think this's doable.