Simple REST service

Bazylot

New member
Does anyone try to make a simple REST service ? I am going to make one in python. I am going to store a list of elements in JSON file localy. I don't need database i think. Do you think python is good language to do it ? And basic question: can i install python on this free VPS ?
 
Not sure if people actually use them. Or maybe they do use them and don't realize it. Until your post, I never heard of it before. So, like many other things I haven't heard of, I went to google to seek the answers and I found a few links. Not sure if they are helpful or not for you, but could be to some others that may want to try to build one. Here are the links

http://rest.elkstein.org/
http://crunchify.com/create-very-simple-jersey-rest-service-and-send-json-data-from-java-client/
http://www.tutorialspoint.com/restful/
 
A

Angelfsg

Guest
I've made REST services in PHP and Java, and it's very easy in both languages. I don't know if free VPS you can install Python.
 

fouadChk

Member
Bazylot said:
Does anyone try to make a simple REST service ? I am going to make one in python. I am going to store a list of elements in JSON file localy. I don't need database i think. Do you think python is good language to do it ? And basic question: can i install python on this free VPS ?

> For question1: Python is a powerful language and should do the trick for building Web services (REST APIs.) See this thread at StackOverflow for some tips: 'Recommendations of Python REST (web services) framework?'

> For question2: On a VPS you're the one in charge so, provided that what you do is within the ToS, the answer is obvious. Besides Python is installed as part of the Linux minimal setup. What you may have to add (or not) is to the Python frameworks/libraries that you may also be needing.