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

[CLOSED] Enhance controller to handle requests for mocks #104

Closed
1 of 2 tasks
neel1996 opened this issue Mar 12, 2022 · 1 comment
Closed
1 of 2 tasks

[CLOSED] Enhance controller to handle requests for mocks #104

neel1996 opened this issue Mar 12, 2022 · 1 comment
Labels
area/api Mimock APIs type/enhancement New feature or request

Comments

@neel1996
Copy link
Member

Issue by neel1996
Monday Jan 24, 2022 at 05:41 GMT
Originally opened as https://github.com/neel1996/mimock/issues/6


Enhance the functionality of the generic controller to handle requests for mocks that are already setup in mimock

  • The URL that does not start with the mimock api prefix (/api/mimock/v1) should be handled by this controller

  • It must pick the matching response from the mocks table and return it as response

  • should match request based on path + query param + request body + headers

  • should be able to handle both text and binary responses

@neel1996 neel1996 added area/api Mimock APIs type/enhancement New feature or request labels Mar 12, 2022
@neel1996
Copy link
Member Author

Comment by neel1996
Saturday Feb 05, 2022 at 14:11 GMT


A generic controller to handle mock requests has been created. The extension of this issue will be tracked under #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Mimock APIs type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant