Corrections
This commit is contained in:
@@ -24,8 +24,7 @@ import ElementDescription from './ElementDescription.vue';
|
||||
<li>History of connections to generated endpoint with ability to look into request method, headers and body</li>
|
||||
</ul>
|
||||
<h2 class="text-2xl font-bold mt-4 mb-2">GUI elements</h2>
|
||||
|
||||
<h3 class="text-lg font-medium mt-2"></h3>
|
||||
<p>This section describe how certain elements of the application work:</p>
|
||||
<ElementDescription name="URL field">This field contains autogenerated URL for your REST Mock. All links are removed every 24h.</ElementDescription>
|
||||
<ElementDescription name="'Save' button">Applies every change made on this page and saves it between sessions.</ElementDescription>
|
||||
<ElementDescription name="Response Content Type field">Its just convenient way to set "Content-Type" header in the response.</ElementDescription>
|
||||
@@ -34,7 +33,7 @@ import ElementDescription from './ElementDescription.vue';
|
||||
<ElementDescription name="Response Headers section">This section contains three default and unremovable headers ("Connection", "Date", "Keep-Alive") as well as empty field used to adding custom header. Adding header with empty value is possible, but every header has to have a name. When adding new header is possible, the "Add" button becomes active. New header is added after "Add" button is clicked.</ElementDescription>
|
||||
<ElementDescription name="History">This section allows to look into history of requests sent to current REST Mock. Entries are sorted by descending by date (newer are first). If request has body, "Show body" button appears in its entry. Also there is option to look into every request's headers by clicking "Show Headers" button. For now, History doesn't refresh automatically. To refresh it, click small refresh button on the right-hand side.</ElementDescription>
|
||||
|
||||
|
||||
|
||||
<h2 class="text-2xl font-bold mt-4 mb-2">Example</h2>
|
||||
<p>Let's say we want to create temporary endpoint that returns code 200 with body:</p>
|
||||
<div class="w-fit p-2 my-2 bg-slate-200 dark:bg-slate-800 rounded-md self-center"><pre>{
|
||||
|
||||
Reference in New Issue
Block a user