captainigloo / sparkcore-local-http-server-rest-json

Local HTTP server with REST and JSON for Sparkcore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP server (REST & JSON) on Spark core

alt text

EN : Local HTTP server (REST & JSON) for Sparkcore

This project implement a Http server on Sparkcore itself. Once compiled into the Web IDE, the server will be available at http://IP-SPARKCORE (port 80 by default).

Common files of projects :

  • slre.h
  • slre.cpp
  • HttpResponse.h
  • HttpResponse.cpp
  • HttpRequest.h
  • HttpRequest.cpp
  • http_parser.h
  • http_parser.cpp
  • SparkTime.h
  • SparkTime.cpp

Thanks to :

Projet "spark-Web-Tinker.ino"

Installation

Add file

FR : Serveur HTTP REST et JSON pour Spark Core.

Ce projet permet de mettre en oeuvre un serveur sur le Spark core lui-même. Un fois compilé dans le Web IDE, le serveur sera accessible à l'adresse http://IP-SPARKCORE (port :80 par défaut). Ce projet est un exemple permettant d'envisager d'autres projet.

Fichiers communs des projets (Rappel .h = fichier d'entête, .cpp = fichier de définition [Sources]) :

  • slre.h
  • slre.cpp
  • HttpResponse.h
  • HttpResponse.cpp
  • HttpRequest.h
  • HttpRequest.cpp
  • http_parser.h
  • http_parser.cpp
  • SparkTime.h
  • SparkTime.cpp

Remerciements à :

Projet "spark-Web-Tinker.ino"

Installation

Add file

Old GUI version :

Aller sur Youtube

Aller sur Youtube

Youtube video 1 Youtube video 2

About

Local HTTP server with REST and JSON for Sparkcore

License:GNU Affero General Public License v3.0


Languages

Language:C++ 83.5%Language:C 16.5%