I've built a REST Server and now I want to rapidly test it from a Perl Client, using REST::Client module.
It works fine if I perform GET Request (explicitly setting parameters in the URL) but I can't figure out how to set those params in POST Requests.
This is how my code looks like:
#!/usr/bin/perl
use strict;
use warnings;
use REST...
I have been playing with the source code available from the following tutorial.
The GWT/GAE application works in development mode, however when its deployed, the server always returns the response in the JSON format.
I am using the Restlet 2.0 Testing jars, and have also included the dependent libraries.
thank you
...
Could you all please suggest me a good books\tutorial on XML-based APIs, REST, SOAP with using Python
Thanks in advance
...
I have a REST API where I would like to cache the JSON response of the index (GET /foo) and the read actions (GET /foo/1) to significantly increase the performance. When there is a POST or a PUT on a resource the cache entries for the index and read results need to be expired, so no old content is served.
Is this a scenario that's best ...
Possible Duplicate:
What exactly is RESTful programming?
what is RESTful Web Services? can some one please provide example of it ?
What is difference between the asmx webservices and wcf restfull service ?
...
I have a representation that contains a list of items. This could easily contain several hundred items.
<List>
<ListItem>...</ListItem>
<ListItem>...</ListItem>
...
<ListItem>...</ListItem>
<ListItem>...</ListItem>
</List>
For each item I want to provide a set of links that are available. Of the set of links, each item may o...
I have a need for persistence of client state and am wondering what the problems would be with this approach.
I want to provide a URL to a client that uses HTTPS and basic authentication, they would just PUT and GET a Blob of text containing JSON. On the server side, I can parse it when PUTting to see if it's semantically correct before...
Wondering if I should ALWAYS use the respond_to/format.xxx block in ALL of my actions in ALL of my controllers. This came up because I realized that, for apps using only HTML response format (no respond_to block), I could send some other type of request (say XML) and get a valid response. Is this considered insecure? Feels to me like ...
Hi ,
I am developing a REST service in .NET 4.0 and here is my web.config file
I an new to .NET and have been struggling for two days to understand why I am not able to upload data more than ~60KB.
I understood by googling that that the BufferSize has to be increased and tried modifing web.config file in different ways which never wor...
Hello ,
I am using Django-pipes to parse Bing Image Search API , everything is going very smooth thu i can't render Thumbnail data
Json : http://api.search.live.net/json.aspx?Web.Count=10&query=linux&sources=image&Appid=APPID
Model.py
class BingImageSearch(pipes.Pipe):
uri = "http://api.search.live.net/json.aspx"
@st...
How to upload SLD's graphic using geoserver's REST API.
I have managed to upload SLD's style file but I do not see any possibility to upload graphic which style is using.
...
So im trying to make a request from a rest jersey webservice, but since i want to pass a variable that has the "/" character im having trouble to reach my resource class method. Heres the url:
http://localhost:8030/IPDMS/rest/process/search/210/2010
Where the 210/2010 is a variable, so the "/" character will mess when searching the res...
Suppose I have 2 servers.
The first is a service that provides some computations, which can last long time (minutes to hours).
The second server will use this service to have some data computed.
I'm trying to design a REST API for the first server and so far so good. But I'd like to hear some opinion on how to model notifications whe...
Is there anything in Java that's the equivalent of WCF Data Services ?
Does Spring have the capabilities to expose databases as a RESTful web service like WCF Data Services ?
Thanks !
...
While looking at the code in "petclinic", part of Spring 3.0 samples I noticed the following lines
<c:choose>
<c:when test="${owner.new}"><c:set var="method" value="post"/></c:when>
<c:otherwise><c:set var="method" value="put"/></c:otherwise>
</c:choose>
In this discussion at SO it seems that PUT should be used for "create/updat...
Something I am playing with at the moment is a Rest / HTML page that dynamically updates via JSON calls.
Now in the case that I want this to run on as low a bandwidth as possible.
So if the server is shut down, then booted up again I want the updates to continue again in most cases this works some cases parts of the javascript won't wo...
Hey there,
Our application consists of a REST web service running on App Engine and a flash client. We need to make sure that only our client can make requests to the web service and to prevent situations like replay attacks.
I'm not a security expert (by far) so I'd like some advice with the security scheme I came up with.
The syste...
I have this certain method(snippet below) for which I want to get the XML result of.
Server
[OperationContract]
[WebGet(UriTemplate = "getcustomerschema/userCode={userCode}/password={password}",
ResponseFormat= WebMessageFormat.Xml,
RequestFormat= WebMessageFormat.Xml,
BodyStyle= WebMessageBodyStyle.Wrapped)]
public Da...
I'm having trouble getting an example running using the REST API with ActiveMQ 5.4.0. I've seen several different GET URIs.
The documentation refers to this URI: http://localhost:8161/demo/message/<queue name>?type=queue
Other sources refer to these URIs:
http://localhost:8161/queue/<queue name>
http://localhost:8161/demo/...
I'm reading the API for arin and notice that many of the REST parameters are in uppercase.
Is there a standard that defines what I should be expecting in REST-full service?
...