RESTful, or representational state transfer, is a style of software architecture for distributed hypermedia systems such as the World Wide Web.
1
vote
0answers
13 views
HATEOAS - How to model link relations that change state
Following HATEOAS principles that each states should be hyperlinked, what is the best way to model links that change resource state?
Let's take classical example with orders:
{
id : 12,
state: ...
-1
votes
1answer
23 views
RESTFull Architecture HTTP GET & PUT Requests [on hold]
Could anybody point me to a tutorial, examples or docs about http request, GET, PUT.
I need to put & get a JSON package to & from a URL.
Cant find much objective-c information about ...
0
votes
0answers
17 views
RESTful API - I am trying to do GET on some url and get a responce to validate
I am working on groovy 2.0.0 on grail 2.1.1 framework.
I have added following plugin "rest"
grails install-plugin rest
and added - compile ":rest:0.7" in BuildConfig.groovy
Question - I am trying ...
0
votes
1answer
68 views
Key differences between Restangular and Ember-Data (Restangular vs Ember-Data) [closed]
We are building a big single page application with a RESTful backend delivering JSON response to a client sided javascript MVC-like framework.
We need to choose our Javascript framework. For now the ...
-2
votes
0answers
38 views
Is restify for node.js prodcution ready? [on hold]
I am taking a look at building a RESTful API using restify that can handle 1k to 50k request per second and 100 - 500 gig per day. Most the request will be POST in json format -- the data will then ...
0
votes
1answer
14 views
How to check if user is authenticated with CAS server?
I need to check if user is authenticated in the system in a PHP application that is not a PHPCas client. Does the RubyCAS server provide API for this? How do you make secure communication in this ...
0
votes
0answers
21 views
Only Accept application/json
I am working on a backbone application that communicates with an express.js server. I'm think about securing the express.js server. Does it make sense to create a middleware that checks that any data ...
0
votes
1answer
41 views
Where can / should data be prepaired for the output in a Zend Framework 2 RESTful application?
In a "common" application, the controller forwards the data in a ViewModel object to the view. There it can be prepaired for the output, e.g.
`id` -> `/foo/bar/` . ...
1
vote
1answer
39 views
Throttling restful actions on a per user basis
What is the best approach to throttling the number of actions a user can do to one per minute?
@route('/do_something/<cmd>',method=['GET','POST'])
def my_command(cmd):
# Only allow this to ...
0
votes
1answer
161 views
Razor templates, views and angular.js
The context:
We are developing a public website (not an intranet application) using mvc4 with razor, and we weren't very familiar with client script, so we started with what we new a bit: jquery.
But ...
0
votes
1answer
43 views
Consuming hateoas restful webservice with javascript (framework)
Is it possible to consume a hateoas type of restful webservice via (a) javascript (framework - e.g. angularjs)? I imagine that the client needs to implement quite a lot of logic to reach the actual ...
0
votes
2answers
37 views
Spring + rest + mysql
Hi friends,
I am new to spring frame work, please help me to create simple web serice application using spring frameWork+ Mysql database+restFul web services ...
0
votes
1answer
30 views
How to connect restful webserives?
how to insert or retrieve the data from webpage to database using rest web services please help me, I am new to rest, and please show me the sample program.
Thanks
0
votes
1answer
62 views
How to handle multiple output formats in a RESTful Zend Framework 2 application?
I'm developing a RESTful application on Zend Framework 2 basis. Just implemented the get(...) method of the controller:
class SeminarsController extends RestfulController
{
/**
* @var ...
0
votes
1answer
32 views
Recommended strategy for emulating REST endpoints in command-line API?
Background
I'm designing a command-line API to a HPC Cluster (it API might eventually be published over the web as well).
The question
I wonder what would be the be the recommended strategy for ...