Representational State Transfer, or REST, is an architectural style for networking software to transfer information through the web.
2
votes
3answers
315 views
One or many RESTful APIs for large company?
I work for a large company which has several non-RESTful APIs. I am tasked with building a web application to interact with these APIs. Each API handles and provides very different business processes ...
4
votes
3answers
1k views
Languages and frameworks to build REST services
I'm currently in the process of developing a REST service that will be consumed by an iPhone app. Basically, the service wraps existing business logic. This business logic is written in c# and I'm ...
6
votes
5answers
7k views
Complete RESTful API debugging/testing tool [closed]
I'm looking for the most complete tool, preferably portable GUI or browser plugin to test RESTful API.
What I need is:
GET/POST/DELETE/PUT support
multiple file uploads as fields ...
4
votes
3answers
2k views
Should I use the Date type in JAX-RS @PathParam?
This is what I'm thinking about doing on a JEE Glassfish server using Jersey.
@GET
@Path("/{name}/{date}")
public String getMessages(@PathParam("name") String name, @PathParam("date") Date date)
I ...
7
votes
2answers
732 views
Suggested HTTP REST status code for 'request limit reached'
I'm putting together a spec for a REST service, part of which will incorporate the ability to throttle users service-wide and on groups of, or on individual, resources. Equally, time-outs for these ...
2
votes
2answers
766 views
Challenges in multi-player Android Game Server with RESTful Nature
I'm working on an Android Game based on Contract Bridge, as a part of my college Summer Internship project. The game will be multi-player such that 4 Android devices can play it, so there's no BOT or ...
11
votes
2answers
4k views
Selecting a JAX-RS implementation for a new project
I'm starting a new Java project which will require a RESTful API. It will be a SaaS business application serving mobile clients.
I have developed one project with Java EE 6, but I'm not very familiar ...
1
vote
1answer
719 views
REST and redirecting the response
I'm developing a RESTful service. Here is a map of the current feature set:
POST /api/document/file.jpg (creates the resource)
GET /api/document/file.jpg (retrieves the resource)
DELETE ...
2
votes
2answers
897 views
Ajax application: using SOAP vs REST ?
I'm building an ajax heavy application (client-side strictly html/css/js) which will be getting all the data and using server business logic via webservices.
I know REST seems to be the hot topic but ...
1
vote
1answer
377 views
Securing Back End API for Mobile Applications
I have an application that I am writing for both iOS and Android; this application will be served by a ReSTFUL API running on a cluster of servers on "the internets". I am curious how the rest of the ...
2
votes
1answer
216 views
How can I refactor client side functionality to create a product line-like generic design?
Assume the following situation similar to that of Stack Overflow: I have a system with a front-end that can perform various manipulations on the data (by sending messages to REST back-end):
Posting
...
2
votes
1answer
130 views
Integration of routes that are not resources in an MVC REST style application
I would like to keep my application relatively REST-pure for the sake of consistency, but I'm struggling philosophically with the relatively few views (maybe just one) that I'll need to build that ...
-1
votes
1answer
235 views
Best Method/Library For Remote Authentication [closed]
I have a web app that has a REST API interface: http://api.example.com/core that uses API Keys and domain specific keys (key has to be used on the specified domain).
I then will have several client ...
3
votes
2answers
135 views
What are the key points to evaluate to select a good SMS gateway?
We are planning to add a "SMS verification account" option for our customers. (So we will only send SMS. We do not need a short code.)
We have found several companies who offer SMS gateways through ...
2
votes
1answer
339 views
Designing A 2-Way SSL RESTful API
I am starting to develop a WCF API, which should serve some specific clients.
We don't know which devices will be using the API so I thought that using a RESTful API will be the most flexible choice.
...
35
votes
2answers
1k views
What is the proper way to do REST?
Everybody nowadays does SOA, even if some don't actually understand what is all about. So they do it wrong. Using that as an analogy I know what REST is (or at least I think I do) and want to do some ...
6
votes
4answers
1k views
How best do you represent a bi-directional sync in a REST api?
Assuming a system where there's a Web Application with a resource, and a reference to a remote application with another similar resource, how do you represent a bi-directional sync action which ...
4
votes
4answers
1k views
Future of SOAP, with REST?
Considering that more and more Web Services are implementing a RESTful interface, I am wondering what the future of SOAP will be?
I'm looking for any kind of papers, statistics, articles or ...
4
votes
1answer
464 views
What is the benefit of hypermedia (HATEOAS)?
I don't understand the benefit to HATEOAS for APIs intended for use by programs (as opposed to humans directly browsing your API). Sure, the customer isn't bound to a URL schema but they are bound to ...
4
votes
4answers
777 views
Advice on which technologies to use for a client-server desktop application
I am writing a desktop application in Java which will allow clients to authenticate to a server with their credentials, and afterwards view and manipulate some data (orders, invoices, employees etc.) ...
0
votes
1answer
215 views
REST & Grails- A solution in search of a problem?
Over the past week, I've been struggling to adapt a Grails application to use the REST architecture. Problem is, I've had nothing but trouble throughout.
For this application, the choice between ...
11
votes
4answers
5k views
REST vs RESTful vs “normal” web service - the same or not?
I've read a couple of definitions and discussion on REST and/or RESTful applications, but I still do not understand the real meaning of it.
I usually work with the apps which either fetch data via ...
3
votes
4answers
4k views
REST Service Authentication/Authorization
I have a WCF rest service that will be consumed by multiple clients. The information returned by the client requires me to know who they are, so that I can return information specific to them.
Is ...
2
votes
4answers
1k views
Always return single objects in an array for REST API JSON payloads?
For a REST API that I am working on, I want to return JSON in a consistent layout:
{
"Data" : {
"Id" : 123,
"Email" : "charlie@somewhere.com"
"Firstname" : "Charlie",
"Surname" ...
3
votes
2answers
152 views
What is the preferred Internet media type of a RESTful POST request?
Is there a preferred/recommended Internet Media Type for RESTful POST requests?
For example, if I want to add a new user, should I send the data as a URL encoded string like:
...
3
votes
3answers
442 views
Designing an API on top with Java RMI and Rest APIs
I'm working on the backend of a java web application. We have a document repository (Fedora Commons specifically) where we house xml files. I want to abstract the API of the repository internally so ...
3
votes
2answers
246 views
“Invalid operation” status code in a HATEOAS REST API
In a HATEOAS API links are returned which represent possible state transitions. A conforming client should just be retrieving and following those links, but if a non-conforming client is constructing ...
3
votes
5answers
2k views
How much AJAX is too much?
My current project is part of a highly linked architecture, with individual systems each owning certain pieces of data, and exposing them RESTfully. Both our web services and our user interface take ...
9
votes
2answers
2k views
What is a recommended pattern for REST endpoints planning for foresighted changes
Trying to design an API for external applications with foresight for change isn't easy, but a little thought up front can make life easier later on. I'm trying to establish a scheme that will support ...
11
votes
3answers
5k views
WCF Data Services (OData) Vs ASP.NET Web API? Hypermedia?
I'm desiging a distributed application that will consist of REST services and a variety of clients (Silverlight, iOS, Windows Phone 7, etc). I was ready to decide that I would implement my REST ...
3
votes
2answers
322 views
What is the best technology for a TRULY portable REST client
I develop a suite of productivity tools, for Mac, iOS and Windows. They all communicate with a sync server via a RESTful interface (using Protocol Buffers), but as we add new platforms, we realize the ...
5
votes
2answers
1k views
Designing authentication for REST API
I'm working up an API for a REST service that I'm going to both be producing and consuming. I've spent the past few days trying to figure out how to handle authentication nicely, and think I've ...
6
votes
3answers
3k views
How is oData different from a REST service?
I am looking into writing a web service API and I am thinking of creating a REST service. What does OData means in this context? Can you please explain the difference between OData and REST?
0
votes
1answer
116 views
Which one of these implementations is more appropriate for my REST api?
Background
So I have a REST API that allows for client applications to access and manipulate users' data.
I'm in the process of writing an Objective-C class for simple utilization of this REST API, ...
0
votes
1answer
1k views
Why should I use JAX-RS REST instead of normal servlets?
I'm teaching myself J2EE technologies using Glassfish as my webserver and EJB container. I'm very interested in learning REST as well, and developing an application that is adherent to the rules of ...
4
votes
4answers
403 views
Javascript client - which is likely to be better serverside? WCF or MVC3 controller with restful messages?
I'm looking to write a server side service, which will be accessed from a Javascript/HTML5 client.
The client will likely be sending a bunch of restful messages over HTTPS.
All other things being ...
1
vote
2answers
215 views
OCCI for non-web application
I am writing a non-web application (written in java) which will allocate cloud resources. I want to make it compatible with as many providers as possible. Is it wise to use OCCI interface? Will it be ...
8
votes
2answers
2k views
Should I use WADL to describe my RESTful API?
I'm about to embark on a project that makes extensive use of a properly RESTful approach. That is, it uses HATEOAS and serves up resources in a manner that allows for general exploration by a client.
...
3
votes
2answers
386 views
Handling REST Response Formats
It seems that newer websites (and API's especially) make use of request formats by adding the expected format to the end of the URL path.
/path/to/resource.html
/path/to/resource.json
...
1
vote
1answer
956 views
RESTful HTTP OPTIONS request content
I'm having trouble determining what I might put in the body of a response to an OPTIONS request? are there conventions? standards? What do you put? do you just provide a list of other METHODS? should ...
3
votes
3answers
296 views
What's a RESTful url for a linked item?
This is going to be a web service that returns a JSON object. Currently, I'm using C# technology and simply using ASP.Net MVC to create the calls. This is not a web page, so SEO is not a concern.
...
8
votes
6answers
672 views
What was SOAP invented for?
This question is inspired by this one. What was the initial goal of inventing SOAP? Why was it invented when we had old kind HTTP and REST?
11
votes
5answers
408 views
What are the deciding factors in choosing to expose a web service as a SOAP or REST service?
As far as I can see consuming SOAP requires a SOAP stack, so it is harder for your clients to consume i.e. they need to ensure that they have a SOAP stack in place that formats the POST data and the ...
1
vote
1answer
134 views
Handling requests RESTfully?
There is a push in modern scripting frameworks to use RESTful request routing instead of a one-size-fits-all URL path routing.
respond('GET', '/posts', callback);
respond('POST', ...
0
votes
1answer
402 views
restful web development in scala
I ve been a php developer for the past 4 years and worked in OO PHP and almost all sorts of PHP mvc frameworks. Ive joined a new company now and here we use scala for web development. We have a ...
10
votes
4answers
584 views
Am I Over-Engineering If I Consider User's Intentional Wrongdoing?
Is it over-engineering if I add protection against a user's intentional wrongdoing (to put it mildly), if the harm the user can incur is not related to my code?
To clarify, I'm exposing a simple JSON ...
3
votes
2answers
2k views
xml parser vs JSON parser performance in Java / C / C++
I am trying to understand which data format is better on embedded device communicating with Server over REST API. XML or JSON?. Is JSON parsing faster than XML parsing in Java / C and C++? I ...
4
votes
2answers
468 views
Should I use a framework for my new REST-based Java webapp? If so, which one?
I'm wanting to build a relatively simple app. Basically, a bunch of RESTful web services that access a database. Basic CRUD operations, a fair amount of search, and some amount of reaching out to ...
0
votes
2answers
229 views
BEST Format/Protocol for RESTful SOA
Which is the best protocol / format for SOA designs using REST. Here are some options but i can't decide...
XML
JSON
YAML
ProtoBuf
... anything else i might have missed
These are my ...
8
votes
2answers
596 views
RESTful reference representations - semantic link vs uri
We're designing a RESTful API to open up our customer's account information. We have representations that contain references to other resources related to the current resource. This is from a number ...