WARNING This apps current subscription for ENTERPRISE will run out on 2/17/19

If you are the owner of this site, purchase a subscription now or your website will be cancelled

My API

New App

Documentation

These are the only available packages (not including built-in):

Example

Example code (will return the result of a google search):

Functions

send(response [| code, response])

The send function allows you to send content in reply. The following examples will return "Hello, world!" when the API is requested:


The following example will return a "404 not found" code:


getRequest()

The getRequest function will retrieve all information from the request, including the URL, headers, etc. The following example will get all the headers from the request:

getQueryString()

The getQueryString function allows you to retrieve the querystring paramaters of the url. Example with the url of (myapi.sebbot.tk/!myapi?test=QueryString):

Example Apps

Random Dog Picture (using imgur)

Demo