Skip to content

Do we have proxy option in this library? #886

Description

@loia5tqd001

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions