Difference between revisions of "Template:API HTTP Required Vars"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{#if:{{{2|}}}| {{API Requirements|{{{2}}}}} |{{API Requirements}}}} {{API Variable Group|Input basic parameters}} {{API Variable|action|yes}} = {{{1}}} {{API Variable|apikey|...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{API Variable Group|Input basic parameters}}
 
{{API Variable Group|Input basic parameters}}
 
{{API Variable|action|yes}} = {{{1}}}
 
{{API Variable|action|yes}} = {{{1}}}
{{API Variable|apikey|yes}} Your personal [[Developer's API key|developer's API key]].
+
{{API Variable|apikey|yes}} Your personal [[HTTP_API/Developer's API key|developer's API key]].
 
{{API Variable|botname|yes}} Your bot's SL login.
 
{{API Variable|botname|yes}} Your bot's SL login.
{{API Variable|secret|yes}} [[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|dataType|no}} Set to "json" to get JSON reply 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.

Latest 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" | dataType | width="60" | optional | Set to "json" to get JSON reply 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.