You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 28, 2022. It is now read-only.
# [![Mocks Server][logo-url]][website-url]Plugin for administrating Mocks Server through a REST API.
8
+
# [![Mocks Server][logo-url]][website-url] Mocks Server Plugin Admin Api
9
9
10
-
Plugin for [Mocks Server][[website-url]] providing an API REST that allows to change dinamically the current behavior, change delay time, and another [Mocks Server options][options-url]
10
+
Plugin for [Mocks Server][website-url] that provides an API REST that allows to change dinamically the current behavior, change delay time, and another [Mocks Server options][options-url].
11
11
12
-
This is __very useful when running acceptance tests, as you can change the behavior of the api__ simply with a request in your tests `before` method, for example.
12
+
This is __very useful when running acceptance tests, as you can change the behavior of the api__ simply making an HTTP request in your tests `before` method, for example.
13
13
14
14
## Usage
15
15
@@ -22,9 +22,9 @@ Available api resources are:
22
22
*`GET``/mocks/behaviors/current` Returns current behavior.
23
23
*`PUT``/mocks/behaviors/current` Set current behavior.
24
24
* Request body example: `{ "name": "behavior-name" }`
25
-
*`GET``/mocks/settings`Return current server settings.
25
+
*`GET``/mocks/settings`Returns current server settings.
26
26
* Response body example: `{ "delay": 0 }`
27
-
*`PUT``/mocks/settings`Change current server settings.
27
+
*`PUT``/mocks/settings`Changes current server settings.
0 commit comments