Go Down

Topic: Reading data from database through MKR1000 (Read 817 times) previous topic - next topic

Bjain

hi,

I am making a prototype in which I have designed a wireless node using MKR1000.
Node is placed in remote location and has some specific function.
It takes value from user and based on that values does some calculations and send data to sql server through http GET

Now what i need is that I should send 1 parameter to server and on basis if that parameter I should received value of a column from my sql table.
Basically I want to read data from my SQL server.
How can I do it via MKR1000.

tomasgf

You will probably have to develop a RESTful API that receives a parameter, query the DB and sends a response (e.g., JSON).

You can do this in many different languages (e.g., Perl, PHP, Python). A simple project like this can be done using Flask (http://flask.pocoo.org/).

Bjain

Can you provide some similar example...

Go Up