I asked the question before but didn't phrase it quite right. I'm using RESTful principles to build a secure web-app that uses both transport authentication/encryption and message level security.
The message level security is essentially client-independent (still encrypted though), and hence this allows the individual messages to be cac...
[WebInvoke(Method = "PUT", UriTemplate = "users/{username}")]
[OperationContract]
void PutUser(string username, User newValue);//update a user
I have a update user method defined as showed above. Then I use a HttpWebRequest to test the method, but how can I pass the User object with this HttpWebResquest?
The following code is wha...
Hi guys,
been wrestling with this for some time. I am trying to access a REST api on my iphone and came across the ASIHTTP framework that would assist me. So i did something like
//call sites, so we can confirm username and password and site/sites
NSURL *url = [NSURL URLWithString: urlbase];
ASIHTTPRequest *request = [[[ASIHTTPRequest a...
It seems that SaaS and Cloud computing are old concepts with new names, and I am curious if I am wrong.
For cloud computing you can look at: http://stackoverflow.com/questions/1349894/difference-between-cloud-computing-and-distributed-computing
Basically, it seems that when we have been hosting that that is cloud computing, it is just ...
There seems to be two different ways in the Zend Framework to implement a RESTful API, one by adding objects&functions to the Zend Rest Server object inside a action controller, the other through extending the very sparsely documented Zend Rest Controller method mentioned in the Zend Rest Router configuration.
My questions are:
Do you...
I have written a WCF REST Service as follows
namespace UserService
{
// TODO: Modify the service behavior settings (instancing, concurrency etc) based on the service's requirements. Use ConcurrencyMode.Multiple if your service implementation
// is thread-safe.
// TODO: Please set IncludeExceptionDetailInFaults to false...
I am using the ASP.NET MVC REST kit and all works great but when I try to return an array of objects I get the below error. Following the movie sample in the kit I couldn't find any references to them using KnownTypeAttribute. I have tried returning the object array via a list, array and as serializeable.
Examples
return View(ats.GetAs...
I created a REST service using WCF. It has 2 operations; one has [WebGet] applied on it and works fine both on localhost and on my production server.
But, the other operation that has the following attribute applied on it works only localhost not on production server. Can anybody tell me what could be wrong here ?
The attribute in ques...
The rails convention is to use New and Create for RESTful action names. The .NET MVC convention appears to be to use Create for both (usually with a post restrictor on the action intended to the true 'Create' method).
Personally I would prefer to use New and Create in .net but have been using Create for both given the convention. What (...
What's the difference between a REST system and a system that is RESTful?
From a few things I've read most so called REST services are actually RESTful services. So what is the difference between the two.
...
Hi I would like to monitor a Java application using the browser but at the same time utilise the existing JMX infrastructe.
I know that JMX provides a HTTP interface but I think it provides a standard web gui and its not possible to mashup its functionality with an existing system.
Are you aware of any REST interface for JMX?
My rese...
I am pondering on using a Restful implementation in Rails. I'm asking myself if it's the way to go.
Should I always go for a Restful implementation or not?
...
Hello there,
Created an online form in JSP using SpringMVC tag libraries. The controller for my form is a RESTful web service.
The RESTful web service has two calls:
(1) http://localhost:8080/myapp/applications/new
This brings up the online form in the browser (this works).
(2) http://localhost:8080/myapp/applications/create
This ...
I'm rather new to REST so forgive me if this is a stupid question.
So, I have a customer resource. A customer has many credits. So, I imagine a URL for getting customer credits would be
customer/21/credits
(where 21 is a customer ID)
Now, how do I add to the credits, if I don't have the full amount of credits? E.g. a customer has 10 ...
This is a follow up to http://stackoverflow.com/questions/1574951/updating-a-value-restfully-with-post
How do I simply append to a resource's attribute using REST. Imagine I have customer.balance and balance is an int. Let' say I just want to tell the server to append 5 to whatever the current balance is. Can I do this restfully? If so,...
Hello,
I'm a new REST convert and I'm trying to design my first RESTful (hopefully) api and here is my question about addressing resources
Some notes first:
The data described here are 3d render
jobs
A user (graphics company) has multiple projects.
A project has multiple render jobs.
A render job has multiple frames.
There is a hier...
I'm having troubling completing a task the RESTful way. I have a "tasks" controller, and also a "complete_tasks" controller.
I have this in the complete_tasks_controller create action:
def create
@task = Task.find(params[:id])
@task.completed_at = Time.now
@task.save
end
I tried calling this:
<%=link_to "Complete task", new...
Hi everyone,
I've been using Amazon Web Services for a while and am looking to change to another data provider.
I've been looking into Google Books, but I'm unable to see how to get the data out in say XML format. I would like to do something like:
Request Book from ISBN using REST > Receive XML file containing book information etc
Do...
Hi
For a REST interface:
What is the best way to allow the client to set many equally named parameters in a GET?
For example if the client should specify multiple possible colors
www.example.com/products/{color=green|color=yellow|color=white| ...}
...
I'm looking into applying the REST architectural style to a binary network protocol and I am getting hung up on how to identify server resources in a manner that would be true to the style, probably because I'm used to looking at URIs.
For example, would an address-port pair qualify as a resource identifier; assuming one resource per pa...