connect-api-mocker icon indicating copy to clipboard operation
connect-api-mocker copied to clipboard

Connect middleware that creates mocks for REST APIs

Results 15 connect-api-mocker issues
Sort by recently updated
recently updated
newest added

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Hello, the mockign dosnt work when I try to use an absolute URL (www.example.com/api/) I already set the urlRoot to www.example.com/api/.

Hi there, is it possible to read and parse data from a request that are being sent as `FormData`? ```javascript const formData = new FormData() formData.append('param1', 'value1') formData.append('param2', 'value2') fetch('/api/mock-url',...

question

Hey @muratcorlu It would be nice if you could turn on logging, displaying informations like the request's url and what happend with it (json file loaded/ forwarded because no mock...

To have a chance to define a mock that will catch all requests that starts with a path could be great. For example, lets say we have 2 endpoints like...

enhancement

Hello, it would be cool if the wildcard is passed into the json files to, so `{ id: __project_uuid__ }` will return the current uuid. Maybe the wildcard needs some...

For some use cases, we need to able to return image responses as mocks. Like `GET.json` or `GET.xml`, `GET.jpeg` should be returned for an image request. There are some tricky...

enhancement
help wanted

Now most of our custom response examples are express.js dependent. And some of our officially supported implementations(like lite-server) don't use express. So updating or adding some examples that will work...

help wanted

We need to write some test cases for lite-server implementation to be sure we are not breaking that implementation.

help wanted

Hello Murat. Would you have some documentation or something like that, on how to configure it to be used with next.js