Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Multi-UI REST applications with U++
Re: Multi-UI REST applications with U++ [message #45997 is a reply to message #45996] Fri, 12 February 2016 12:45 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi NilaT,

NilaT wrote on Fri, 12 February 2016 11:07
Hello and sorry for picking up this old Thread.
I just wanted to ask if there is a REST implementation in UPP already?
Because I searched here and this thread was the only "useful" info I found.

Don't be afraid to create a new thread if you don't find what you need.

NilaT wrote on Fri, 12 February 2016 11:07
I need to program a webserver which uses REST communication and JSON.
For JSON I already found the Json class but for REST I'm not sure.

There is not much to implement for this in U++. REST is not a technology, it is just a "style" of API. It actually doesn't even have to be implemented using HTTP, the only constraints that REST imposses on API are client-server architecture and statelessness.

I believe Skylark already supports all the necessary HTTP methods, so if you need to implement REST API on your webserver, you just need to write the skylark methods in stateless way, that is they always get all the necessary input data within the request. SkylarkPack might help you a bit with the organization of the code, see chapter 12 of skylark tutorial.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: which linux distro for a 8 Gb usb?
Next Topic: MT opens up whole new can of worms :)
Goto Forum:
  


Current Time: Fri Apr 26 15:18:47 CEST 2024

Total time taken to generate the page: 0.02973 seconds