REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It has increased in popularity relative to RPC-based architectures such as SOAP due to the intrinsic de-coupling of client from server that comes from having a ...
5
votes
0answers
828 views
Using REST request in Delphi
I need to write a simple REST-server in Delphi and a client in Ruby on Rails. I've watched all of the videos by Marco Cantu about REST in Delphi and I've got a question:
How can Delphi process ...
4
votes
0answers
102 views
Parallel/Redundant Replication in CouchDB
I have multiple CouchDB servers I want to keep in sync with each other, and I use these servers to share large files (e.g. >100 MB). To keep them synchronized, I have each CouchDB instance do a ...
4
votes
0answers
227 views
glassfish Rest WEB9031 Exception
I have a Rest Web service deployed on Glassfish 3.1.2. I sporadically get a particular exception on it.
...
4
votes
0answers
660 views
Compatibility of the “Origin” http header for enforcing restrictions
I am building a RESTful JSON api and I am concerned about json data theft and csrf.
A good solution that was created to address both of these problems is the Origin http header. However I am ...
4
votes
0answers
642 views
Obtaining actual parameter values in a Jersey ResourceFilterFactory
I want to implement custom authorisation in my REST services using Jersey. This custom authorisation inspects annotations on methods as well as the actual parameters that a
method receives.
My ...
3
votes
0answers
71 views
ColdFusion 10 RESTful Web Service unable to receive gzip'd (binary) body
I've written a CF10 RESTful web service that accepts a POST from a third party. The POST comes in with successfully with proper headers showing that it's content-type is application/json and ...
3
votes
0answers
125 views
IIS 7.5 handles RESTful POST differently than other servers
I make a RESTful POST to an IIS 7.5 server and it cannot see the body:
HttpClient httpclient = new DefaultHttpClient();
ResponseHandler<String> responseHandler = new ...
3
votes
0answers
44 views
CPU profiling for RESTful server to avoid slow process
I've a RESTful server and it crashes pretty often. So, I'm profiling it to check what processes are consuming most of CPU. After quite a time of profiling, I find ...
3
votes
0answers
254 views
Django REST Framework different depth for POST/PUT?
I am using Django REST Framework to create an API for my web app. I have a class 'Comment', that has depth=2 set in the Meta class. This works great when GETing the Comments. When I try to send a POST ...
3
votes
0answers
142 views
How to schedule a report with collection type parameter via REST API in JasperReports Server?
I'm using JasperReports Server v4.5.
We are having difficulties with scheduling a report by using REST API.
We are able to schedule a report that only accepts string parameters however the problem ...
3
votes
0answers
134 views
Is there any auto generated documentation tool for Spray-Scala?
We're using Spray to create REST APIs and need some tool to auto-generate REST API documentation from code. Looks like Swagger does not have direct swagger-core support for this.
Is there any other ...
3
votes
0answers
98 views
handle social networks authentication with own API backend
How can I handle authentication via OAuth for some social networks in my own backend?
My first approach with facebook was
Authenticate the client directly with facebook and get the accessToken
...
3
votes
0answers
349 views
Spring for Android, file upload progress
I'm using Spring for Android as a REST template for remote calls in Android app.
Currently working on uploading images to the server.
I came up with something like that:
public Picture ...
3
votes
0answers
330 views
How to properly interrupt JAX-RS AJAX request
I have a Java EE application deployed to JBoss 7.1.1.Final. The application makes use of JAX-RS to provide REST services to clients. One of the services holds the client connection until the response ...
3
votes
0answers
303 views
flask.ext.restful -> reqparse
I'm trying to use this reqparse to send meaningful validation back to my clients in a flask app. Here is the code:
class ParserTest(Resource):
def get(self):
parser = ...