-
I was wondering how to use `json-server` to mock my login API
db.json
``` json
{
"login": {
"username": "my name",
"role": ["admin"]
}
}
```
when I POST to `/login` with body below, it …
-
### 问题
我现在使用的是之前的版本webpack-api-mocker,第一次启动的时候是好的,但是当我修改mock的时候,shell里面提示编译成功了,但是浏览器刷新之后,提示404,只有再次重新npm start一次才可以,这个和webpack-api-mocker版本有关系么,现在已经改名成了mocker-api了
### 图片
![image](https://user-im…
-
Howdy!
_**TLDR;**_ Smocker appears to be increasing in CPU utilization as my integration suite grows. Having the ability to remove orphaned mocks may alleviate this.
First off, I saw this other …
-
There is no implementation at all for the [browser.webRequest](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest) API.
Also since this API will be/is going thro…
-
**Description**
Unit tests for the endpoint `GET` `{{base_url}}/occurrences/statuses`
**Pre-Requisites**
- #9
**Unit-Tests**
- Creating the model via a JSON Response
```json
{
"links…
-
### Reason/Context
Why we need this improvement?
To be able to serve PDF, Images, ByteStreams in Microcks
How will this change help?
This will greatly open what microcks can do in terms of REST …
-
Right now our coverage of the actual network sending is lacking. If we had an HTTP server that returns mock data and status codes, we could do something like:
```
let project = 123 in
let mock_se…
-
The following is a rough proposal for which features we plan to add to pyAirtable, loosely grouped into releases. Priorities can shift over time, and anyone who wants to see a particular feature imple…
-
### Describe the project you are working on
A social VR framework with UGC authoring.
### Describe the problem or limitation you are having in your project
I am creating a node to define special ga…
-
In order to [mock interfaces](https://www.apollographql.com/docs/graphql-tools/mocking.html#Mocking-interfaces) a developer should be able to pass `preserveResolvers` option to `addMockFunctionsToSche…