Skip to content
Volodymyr Ladnik edited this page Sep 25, 2018 · 1 revision

Representational State Transfer (REST) is an architectural style that defines a set of constraints and properties based on HTTP.

Add New Service

In order to add new REST service, navigate to REST in navigation menu and click "Add" button on the page.

Alias - is the service name, that it can be changed later

Port - port for the service to listen on. You can have multiple services defined with the same port

Add Response

If no response for the request endpoint is specified, Mimic will respond with "404 Not Found" error. You can specify responses by navigate to service details page and click "Add" button underneath "Responses" table.

Method - is one of the REST CRUD verbs

Path - is the endpoint path. Path can by dynamic with :segment syntax. Besides that if multiple paths will match, Mimic will give preference to the static one (for example /users/1 over /users/:id)

Clone this wiki locally