#1 2015-04-02 14:38:11

horuss
Member
Registered: 2014-07-14
Posts: 2

HTTP with JSON newbie question

Hi,

I need to create a simple HTTP server that basically exchange JSON data stored on SQL Server with Android tablet APP.
Basically the Android APP will work with the data and send it back to the server like customers orders.

From which sample should I start?

Thanks!

Offline

#2 2015-04-02 19:01:29

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: HTTP with JSON newbie question

For a simple HTTP server executing requests from JSON, see https://github.com/synopse/mORMot/tree/ … L%20server

But I would rather use the REST/ORM interface, using cross-platform clients, which do work with Android.

Offline

#3 2015-04-06 13:10:52

horuss
Member
Registered: 2014-07-14
Posts: 2

Re: HTTP with JSON newbie question

Hi,

Thanks for the reply. In that case, should I look for example 26 about the REST/ORM interface?

ATt.

Offline

#4 2015-04-06 14:28:46

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: HTTP with JSON newbie question

Yes, and the cross-platform clients are worth looking at, since you expect to write an Android App.
See sample 27.

In short, take a look at all samples.
smile

Offline

Board footer

Powered by FluxBB