From e6fbfcc8dff123a238efefa0426863ed75372dac Mon Sep 17 00:00:00 2001 From: "hyunsik.noh" Date: Fri, 22 May 2015 12:33:27 +0900 Subject: [PATCH] [DevTools]: Add some detailed text for profile and user variable for REST Viewer. Change-Id: Iae79a717c46c957dcefa23d034abdc6404080f2f Signed-off-by: hyunsik.noh --- org.tizen.devtools/html/web_tools/rest_viewer_w.htm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/org.tizen.devtools/html/web_tools/rest_viewer_w.htm b/org.tizen.devtools/html/web_tools/rest_viewer_w.htm index be08c2d..6336838 100644 --- a/org.tizen.devtools/html/web_tools/rest_viewer_w.htm +++ b/org.tizen.devtools/html/web_tools/rest_viewer_w.htm @@ -248,30 +248,29 @@
  • Save and Run(on Figure: The dialog for WADL component)
  • -

    And if User Variables are set, you can use them with placeholder - to run/test it.

    +

    The api which works with variables needs specific values for test. Each profile has its own user variables(key and value), you can manage profiles and profile's user variables on Preferences page. You can use them with placeholder after user variables are set to test api.(e.g. ${email})

    Figure: User Variables

    User Variables



    -

    You can create a new profile with other variables. And you - can choose active profile in REST Viewer’s user variable toolbar - menu as below. If you test any APIs in REST Viewer, selected - profile will be used.

    +

    You can also select active profile in REST Viewer’s user variable toolbar + menu as below. When you test APIs in REST Viewer, user variables of selected + profile are used.

    Figure: Profile Selection

    Profile Selection



    +

    The user variables of active profile are shown when you set the values for api.

    Figure: User Variable Selection

    User Variable Selection



    -

    Then you can check the response result on Console View. And +

    Then you can run it and check the response result on Console View after you set the values. And it is possible to save response structure.

    Figure: The response result on Console View

    -- 2.7.4