mirrajabi / okhttp-json-mock

Mock your datas for Okhttp and Retrofit in json format in just a few moves

Home Page:http://mirrajabi.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Same path and different HTTP methods

toureholder opened this issue · comments

If I have requests with the same path and different HTTP methods. How do I organize the json models in the assets folder to correspond?

For example, how do I get different responses for GET api/v1/posts and POST api/v1/posts?

Thanks!

This is not supported at this time. but it's a nice suggestion. I'm not sure if I have enough spare time to add that feature, but any pull requests are also welcome.