Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy absent routes #17

Closed
Lindsor opened this issue Oct 10, 2017 · 5 comments
Closed

Proxy absent routes #17

Lindsor opened this issue Oct 10, 2017 · 5 comments
Assignees
Labels
feature New feature request
Milestone

Comments

@Lindsor
Copy link

Lindsor commented Oct 10, 2017

We should be able to setup route to proxy to a real api.

ie:

In mockoon we setup GET: localhost:3000/get/url will be proxied to GET: https://www.google.com/get/url

That way we can mock only SOME endpoints instead of an all or nothing aproach

@255kb 255kb added the feature New feature request label Oct 11, 2017
@255kb 255kb self-assigned this Oct 11, 2017
@255kb 255kb added this to the v0.3.0 beta milestone Oct 11, 2017
@razodeh
Copy link

razodeh commented Nov 13, 2017

I strongly agree on this feature, mapping domains to mocked servers' APIs would really be a strong feature, It will save time instead of going through your codebase and replace existing API endpoints with the mocked ones.

@255kb
Copy link
Member

255kb commented Nov 13, 2017

@Radwan-AbuOdeh It's coming soon in v0.3.0 :)

@Lindsor
Copy link
Author

Lindsor commented Nov 13, 2017

That's awesome @255kb this was the only feature missing keeping me from fully using mockoon.

@255kb
Copy link
Member

255kb commented Nov 13, 2017

@Lindsor It's will be very useful for me too! Basically what I did is that after launching all your routes defined in Mockoon, there is a catch-all redirecting all requests to the URL you set up. That's it. So normally it's very easy to use and flexible.

@255kb
Copy link
Member

255kb commented Nov 19, 2017

v0.3.0-beta is out with this feature ("proxy mode") let me know if everything is working, I did not test all cases but it should work most of the time.

@255kb 255kb closed this as completed Nov 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

3 participants