How to test REST API functions via browser

3 days 19 hours ago #234132 by TheFarmer

I want to use only the browser to see the responses of Lime API functions. I used this method to test other REST APIs. For example, Mozilla has a built in JSON parser and can display the REST responses in a user friendly format. This could be used by new developers to become familiar with the API and do testing faster than using programming code.

The problem is that I cannot figure out the full URLs required for these function calls.
I know the base URL is
https://<hostname>/limesurvey/index.php/admin/remotecontrol. I know how to use java code to call various functions (e.g. list_surveys, list_questions). I tried appending the names of these functions to base URL (e.g. https://<hostname>/limesurvey/index.php/admin/remotecontrol/list_surveys) but does not work.

I would appreciate if anyone could provide some samples of complete URLs, including some examples where input parameters have to be provided as well (e.g list_questions requires survey_id).

Thank You

Please Log in to join the conversation.

2 days 21 hours ago #234157 by bismark

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now