Id: 1
+Status: 200
+diff --git a/src/main/resources/static/css/commons/r11form.css b/src/main/resources/static/css/commons/r11form.css index 46ae894..4d5c135 100644 --- a/src/main/resources/static/css/commons/r11form.css +++ b/src/main/resources/static/css/commons/r11form.css @@ -226,7 +226,7 @@ display: flex; flex-direction: row; text-align: center; - border-bottom: 1px solid rgba(185, 185, 185, 0.3); + border-bottom: 1px solid rgba(185, 185, 185, 0.5); } .tabitem { diff --git a/src/main/resources/static/html/mock.html b/src/main/resources/static/html/mock.html index f0f1b7e..d3330db 100644 --- a/src/main/resources/static/html/mock.html +++ b/src/main/resources/static/html/mock.html @@ -3,11 +3,12 @@
| Id: '+ id +' |
| Header | -Value | -- |
| - | - | + | -
| Timestamp | -Status | + +
|---|
| Name | +Value | ++ |
|---|---|---|
| + | + | + |
| + | + |
| Timestamp | +Type | +
|---|---|
| 2021-01-01T10:57:26 | +Client request | +
| 2021-01-01T10:57:26 | +Client request | +
Id: 1
+Status: 200
+Id: 2
+Status: 200
+Id: 3
+Status: 200
+It's super simple! Need data as response from the server? Mock your api in just a few clicks.
-Hover over an item to see description!
-MockedServices is a tool that allows developer to create, in easy and simple way, http server mocked endpoints for integration tests.
+When cursor hovers over an item. It's description is displayed below.
+Link is an url representing an endpoint at which you can receive your mocked response by simply sending get request.
+Value of the field is corresponding to status value that server will return.
+Value of the field describes content of body payload contained in the response. For example if content is in xml format the value should be "application/xml" or "text/xml"
+Value of the field describes content of response body. It's basicly the message we want server to return. If it's simple response like 200 OK or 404 not found then field might be left empty.
+Content of this tab allows to set and modify headers that will be included in the response.
+Content of this tab displays the history of requests or responses received/sent to the endpoint
+Insert value in the field and press the plus icon to add a new header to the message.
+It's url where you need send your request
-Set http status for server response. 200 OK is default.
-Select content type of body. Set plain text if data has no format.
-Text placed in this field will be displayed as response body
-Set headers for your messages.
-Check history of this message
-Type values and press enter to add new header.
-| Id: '+ id +' |