Handprinter API

From Opasnet
Revision as of 12:55, 6 February 2016 by Jouni (talk | contribs) (updated code for API use)
Jump to navigation Jump to search

Application programming interface (API)


Previous version was designed for the user. This version is designed for an application to enter all parameter values.

The first code on this page is an API that takes in user input and stores that into Opasnet base. The code below is mimicking an application (e.g. in a cell phone) that takes in user input and converts that into an output that can be used as an interface data package between the API and Opasnet. In practice, the application produces an URL that links to this page and contains parameter values for all fields of the API code.

For more about the URL formatting, see R-tools#Giving parameters in an URL.

Give data to be entered into the database as a text string.

Give the password to enter data:

Input as a table made into a string:

+ Show code