Difference between revisions of "Template:API HTTP Required Vars"
Line 5: | Line 5: | ||
{{API Variable|botname|yes}} Your bot's SL login. | {{API Variable|botname|yes}} Your bot's SL login. | ||
{{API Variable|secret|yes}} [http://mysmartbots.com/docs/Bot_access_code Bot access code] of your bot. | {{API Variable|secret|yes}} [http://mysmartbots.com/docs/Bot_access_code Bot access code] of your bot. | ||
+ | {{API Variable|custom|dataType}} Reply with JSON instead of URL-encoded string | ||
{{API Variable|custom|no}} The custom data (string) to be passed back to caller script. This value will be returned back to the caller in HTTP response. | {{API Variable|custom|no}} The custom data (string) to be passed back to caller script. This value will be returned back to the caller in HTTP response. |
Revision as of 08:55, 24 January 2018
|- class="row-a" | | colspan="3" | |- class="row-b" | colspan=4 | Input basic parameters: |- class="row-a {{{3}}}" | width="10" | | width="180" | action | width="60" | yes | = {{{1}}} |- class="row-a {{{3}}}" | width="10" | | width="180" | apikey | width="60" | yes | Your personal developer's API key. |- class="row-a {{{3}}}" | width="10" | | width="180" | botname | width="60" | yes | Your bot's SL login. |- class="row-a {{{3}}}" | width="10" | | width="180" | secret | width="60" | yes | Bot access code of your bot. |- class="row-a {{{3}}}" | width="10" | | width="180" | custom | width="60" | dataType | Reply with JSON instead of URL-encoded string |- class="row-a {{{3}}}" | width="10" | | width="180" | custom | width="60" | optional | The custom data (string) to be passed back to caller script. This value will be returned back to the caller in HTTP response.