I want to test my RESTful applications directly via HTTP and I am looking for tools that can help me with that task. Basically I am looking for an easy wrapper for HTTP requests that can submit e.g. HTML forms or serialized resources as JSON or XML.
It would be great if there is a way to verify if the service is actually following REST ...
I have tried the code here:
http://dotnetslackers.com/articles/aspnet/Implementing-RESTful-Routes-and-Controllers-in-ASP-NET-MVC-2-0.aspx#s-reststyle-routes--controllers
But I just cannot get this to work with ASP.NET MVC 2.0 RC - the PUT and DELETE verbs do not get used. The output seems right, but the route handler seems to ignore t...
I am trying to figure out the best way to call REST actions that perform multiple actions and multiple database updates from a single call.
In my data model, I have Diners and LunchBoxes, and Foods. LunchBoxes are just many-to-many relationships between Diners and Foods, but with a count attribute that says how many of that type of f...
So I want to write a REST API in PHP for JSON for consumption on the iPhone, but also a lot of websites and devices. I have the below code, when accessed via a GET statement, returns a file like:
1mdi2o3.part
How do I return something like: users.json
$db->setQuery( "SELECT * FROM users");
$db->query() or die($queryError);
$numRows ...
Are there any Objective-C web frameworks? The only frameworks I've found is frothkit.
I'm primary looking for a way to write RESTful json web services in Objective-C.
...
I'm finding it necessary to understand why including action verbs in the URI violates the REST protocol for URI syntax? When I read the following article, I sense that too many people are making too much noise about verbs, and that they should be making more noise about content types:
RestWiki: Minimum Methods
In a perfect world, clien...
Hi,
I am bit confuse over set of libraries of pythons to connect with REST enabled web services.
I have tried httplib, urllib and urllib2. I want to know how can methods like PUT, GET, POST, DELETE can be achieved using this library.
Regards,
Parthiv
...
I have a URL encoded resource such as:
http://myurl/users/Joe%20Bloggs/index.xml
This is for a RESTful webservice which uses user logins in the path. The problem is that the controller in rails doesn't seem to decode the %20. I get the following error:
ActionController::RoutingError (No route matches "/Joe%20Bloggs/index.xml" with {...
I'm trying to consume twitter's REST api mentioned at this link using WCF REST starter kit mentioned at this link.
I'm using the same objects in DataContract as mentioned in the article - statusList and status.
[assembly: ContractNamespace("", ClrNamespace = "TwitterShell")]
[CollectionDataContract(Name = "statuses", ItemName = "statu...
I'm trying to come to terms with REST, as defined by Roy Fielding. Recently I've been trying to wrap my mind around:
http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
The concept I'm interested in is in this quote:
The transitions may be determined (or limited by) the client’s knowledge of media types and resou...
I'm looking for a restful way of passing through options to a service. Right now I have a devices resource accessed in standard rails manner with:
map.resources :devices, :member => [:historical]
So I can get my device with /devices/:id and I can get historical data with /devices/:id/historical
I'd like to actually add a param onto ...
Hello,
When using the following interface to talk to PHP from .NET, .NET builds the request body XML with parameter names barcode and branch. The parameter names should be Barcode and Branch. Yes, the PHP server is case sensitive.
Am I forced to capitalise my parameter names? or can I specify names using attributes?
Many Thanks
Neil...
I have a simple WCF Rest service using the latest MS Restful preview kit. Everything works fine, site works as expected. However when I go to my /help page as in http://services.acme.com/help what is being shown is --
UriTemplate http://serv17.acme.com/Service.svc/Ping/string={ping}
Method GET
R...
I am building a web application using Rails and my first instinct was to make all the controllers RESTful. In particular, I am using the PUT method for any actions that modify data.
But this seems to add unnecessary complexity for a browser-based app because Rails uses Javascript to wrap the URL in a POST request.
Secondly, it means ...
GUI based web applications could be build upon a GUI component, stateful framework like Wicket or they could build in a RESTful, stateless way with GUI status only on the client.
From a technical point of view REST looks like the right way since it leverages the full power of http and leads to highly scalable applications. But that com...
After reading a lot about the differences between REST and SOAP, I got the impression that REST is just another word for HTTP. Can someone explain what functionality REST adds to HTTP?
Note: I'm not looking for a comparison of REST versus SOAP.
Update: Thanks for your answers. Now it has become clear to me that REST is just a set of ru...
What is the most appropriate response code to return when using the PUT method to update a resource, and the request contains some data that would invalidate the domain rules?
For example, a customer resource must have a name specified. If an agent tries to issue a PUT without supplying a name I don't want to update the resource, and I ...
Apparently, REST is just a set of conventions about how to use HTTP. I wonder which advantage these conventions provide. Does anyone know?
...
If you are looking for /Resource/Id and that resource does not exist, I had always though that 404 was the appropriate response. However, when returning "null" from a Jersey handler, I get back a "204 No Content". I can likely work with either one, but am curious to others thoughts on this.
To answer my own next question. To get jersey ...
Does anyone know of a web app published on the web for anyone to use to test a REST service and see the results? Must include authentication probing, caching etc.
I am trying to build an app on the iPhone using the Freeagent API but I'm not convinced the service is enabled properly. Want to make sure it's not my code.
...