From 75689780bd026f71f5ee185e2db45d76a37eced7 Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Wed, 15 Nov 2023 13:42:52 +0100 Subject: [PATCH] Corrections --- Frontend/src/components/man/RestMockManComponent.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Frontend/src/components/man/RestMockManComponent.vue b/Frontend/src/components/man/RestMockManComponent.vue index 82f6027..e60c475 100644 --- a/Frontend/src/components/man/RestMockManComponent.vue +++ b/Frontend/src/components/man/RestMockManComponent.vue @@ -24,8 +24,7 @@ import ElementDescription from './ElementDescription.vue';
  • History of connections to generated endpoint with ability to look into request method, headers and body
  • GUI elements

    - -

    +

    This section describe how certain elements of the application work:

    This field contains autogenerated URL for your REST Mock. All links are removed every 24h. Applies every change made on this page and saves it between sessions. Its just convenient way to set "Content-Type" header in the response. @@ -34,7 +33,7 @@ import ElementDescription from './ElementDescription.vue'; 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. 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. - +

    Example

    Let's say we want to create temporary endpoint that returns code 200 with body:

    {