Soluto/simple-fake-server

Improve api for setting a mocked response

Opened this issue · 0 comments

currently there are 3 different params that control the returned content type ("responseAsJson", "respondAsStream" etc.).
We should unify them to a single "response" property that will be something like:
{
content-type: ""
data: ""
...other params relevant for this content type
}