I know REST is meant to be resource-oriented, which roughly translates to CRUD operations on these resources using standard HTTP methods. But what I just wanted to update a part of a resource?
For example, let's say I have Payment resource and I wanted to mark its status as "paid". I don't want to POST the whole Payment object through ...
I read the article at http://stackoverflow.com/questions/1296421/rest-complex-applications and it answers some of my questions, but not all.
I am designing my first REST application and need to return "subset" lists to GET requests. Which of the following is more "RESTful"?
/patients;listType=appointments;date=2010-02-22;user_id=1234
...
I am working with a Rails application that uses RESTful routes for handling it's resources. I am now creating a reports controller that will generate reports in HTML, XML, CSV, etc. There will be several different reports available for generation, depending on the parameters sent to the controller.
Is it overkill to use REST for this re...
I'm out to create a fairly simple web service for intranet use. The service will ultimately be the interface to a DB that will allow me to keep track of what the various internal tools within the company are doing. I'm thinking I want a web service so that various tools (and thus different languages) within the organization can easily ...
I'm working on an kind of an RPG game. And I'm trying to figure out
a nice, clean and RESTful way to define inventory API.
inventory consists of several slots like head, chest etc (like in most RPG games).
Now I need to define REST API to move all items from slot X to slot Y.
few ideas I had:
well, obviously the inventory lives at /...
I am implementing a web service as part of an app I am building and would like all errors returned in XML when the initial request is XML
I found this article:
http://www.cake-toppings.com/2009/03/31/displaying-custom-error-message-with-the-right-http-response-codes/
And while I have it working if I manually fire the error, I want to ...
How do I consume a RESTful web service in C# code without wcf? Something very simple
...
So, I'm using the Developer's Guide to the WCF REST Starter Kit and having a problem with the RequestInterceptor. I have the exact code the guide is showing but for some reason the method never ends.
This is my code:
public override void ProcessRequest(ref RequestContext requestContext)
{
GenerateErrorResponse(requestContext, HttpSt...
If I have to create a URL in my RESTful web service, which would be used by my clients to search all businesses by their fields where the fields are optional, what would the URL look like?
A business can be search by their name alone, name and phone number or name, phone number and contact e-mail.
...
Hi everyone,
I am trying to access this webservice, The problem is that sometimes XDocument.Parse is not able to process and generates an error System.Xml.XmlException: Root element is missing. on the line:
XDocument xmlDoc = XDocument.Parse(xmlData);
Even though the XML sent is correct according to my logs.
I was wondering, Is it p...
Hi all,
I'm searching for a forum software which offers REST like API. It should be able to respond to simple calls like retrieve-post, add-new-post etc. and return the result set in JSON or XML format.
Those that immediately come to mind are phpBB, Vanilla, and/or vBulletin. But I don't know if they have REST API. Also I don't intend...
I would like to use Facebook api
(http://wiki.developers.facebook.com/index.php/API)
in my Qt Application.
I don't want to use WebKit. Is it possibile to use QNetwork only?
Is there any example on how to do it?
...
Hi all,
I have a rest service that can be reached with a post request.
But There's many complex types as parameters, does it exists some tools that can generate the body request for me ?
Thanks for your help.
Best regards
...
I wonder if it would be possible to save client state in an iFrame when going from one page to another in a RESTful application.
Example:
There is a navigation tree on the page and the user has elapsed and collapsed its nodes. When he clicks on a node the entire page changes, but the state of the navigation tree should be the same on t...
How I can modify that example http://www.extjs.com/deploy/dev/examples/tree/reorder.html
for RESTful support?
When we click on some node, it sends POST as "node=src/dd", but it doesn't work for RESTful.
It should be for example as "node/src_dd", and GET will be nice.
I found that ExtJS support RESTful for Store.
http://www.extjs.com/de...
Historically operating system directory-structures have been trees:
C:
Windows
System32
Program Files
Common Files
Internet Explorer
And the REST architecture emulates the same thing:
http://...//Thomas/
http://...//Thomas/Mexico/Year2003/Photos
http://...//Thomas/Mexico/Year2007/Photos
http://...//Thomas/Finland/Year2005/Pho...
Hi all,
I wanted to know if there are any way to change the view format for based on domain name the same rails app.
For example :
www.domain.com => respond_to format.html
api.domain.com => respond_to format.xml or format.json
Thanks all for your help
...
Hi everyone,
if I put a debuger from starting line one of this code and step through i dont get anything
event after the line
xmlData = reader.ReadToEnd();
but if I have debugger on the last line of this code.. where the brace closes, I get everything. i dont know if this only the debuger acting crazy, or a real thing
using (S...
I am trying to use REST API to get friends lists from fb.
ArrayObject is filled with:
SecretKey
API_KEY Method = "facebook.friends.get"
call_id uid
v = 1.0
sig = md5 code
And I'm trying to make the call with:
public string GetResponse(ArrayObject Parameters)
{
// Set the encoding type
theRequest.ContentType = "applicati...
When looking into REST one of the first things probably anybody will notice is there isn't any transaction semantics defined, some say this is implicitly against what REST is, whilst others say any attempt to do so would result in 'tainting' the REST systems.
But lets say for arguments sake that REST did become a popular 'api' choice, a...