When I do a rake routes, I see that helper methods are available for certain REST actions for my user model such as new_user, edit_user so I can use methods like new_user_path, edit_user_path etc but they are not available for update or destroy action. To invoke the destroy action, I have to do something like this
link_to ‘Destroy’, us...
I have setup a wcf service. Unfortunately, when I call the service over fiddler, the web, or whereever, I get an http 400 error. I am really perplexed at where to start to solve this problem. Any suggestions are appreciated. WSDL is not an option at this time. REST is a requirement. I was able to make calls previously using GET, ho...
How can i implement both restful and Soap together?
...
I want to write a web app order system using the REST methodology for the first time. I understand the concept of the "message id" when things get posted to a page but this scenario comes up. Once a user posts to the web app, you can keep track of their state with an id attached to the URI but what happens if they hit the back button of ...
Hi,
as per wikipedia terms REST is
REST can be considered the
architectural style for the World Wide
Web. The architectural style was
developed in parallel to the HTTP/1.1
protocol, based on the existing design
of HTTP/1.0
REST practices started long time ago along with HTTP evolution. If i understand the defenetions c...
I'm writing a webapp where I want to display screenshots of other websites. Is there any free service out there that does this? I'm thinking something RESTful, for example if I wanted to get a screenshot of Google I'd request it with something like this:
http://www.somesite.com/screenshot.jpg?url=www.google.com
...
With the introduction of Zend_Rest_Route in Zend Framework 1.9 (and its update in 1.9.2) we now have a standardized RESTful solution for routing requests. As of August 2009 there are no examples of its usage, only the basic documentation found in the reference guide.
While it is perhaps far more simple than I assume, I was hoping those ...
I am using WCF REST Preview 2 to test some REST services. The package has an extension to IEnumerable as ToDictionary(Func(TSource, TKey) keySelctor. Not sure how to define a lambda function to return keySelector?
Here is one example:
var items = from x in entity.Instances // a customized Entity class with list instances of MyClass
...
I am designing a REST service that could be used by many types of clients, most likely .Net, PHP, Flex and JavaScript. I am building the service using WCF and the REST starter kit. One of my main goals is to make it as simple as possible for all those clients to use the API.
Let's say that the API deals with zoos. When the client cre...
Hi There,
I have to map a REST Webservice URL like "http://server:8080/application/service/customer/v1"
to createCustomer method in CreateCustomerBean class..
I have done the following mappings..
*Web.xml*
<servlet-mapping>
<servlet-name>RestiveServlet</servlet-name>
<url-pattern>/service/*</url-pattern>
</servlet-m...
Hello,
I have a requirement to create RESTful web service.
I have narrowed down on 'Restlet' for the web service implementation.
Can someone tell me the clear pro's and con's of using Restlet and if there are any better alternatives.
thanks in advance
...
Hello,
I have a question about the use off the http api from the company clickatell.
They actually have several api that you can use, amongst are xml and smtp also.
Does anyone have any experience with those, especially with the http api.
For the http api:
Does this php code actually doing the work in the background?
This line $re...
I just started to use WCF Rest project template to design a REST service, for example Collection REST WCF Collection service.
One thing I noticed that the Service.basic.svc.cs file is no longer under the Service.svc as its partial or dependent class file. I tried to find the definitions for CollectionServiceBase and ICollectionService i...
I've got a number of REST feeds I'd like to store in a MYSQL database, can anyone suggest a solution for this? Something PHP related appreciated....
...
I just started to explore RESTful service by using .Net C#. At CodePlex, there is WCF REST Startkit available. I watched several Screen-casts by Pluralsight. The demos are very cool but they are based on the Startkit Preview 1.
I downloaded the newest version of Preview 2. It looks like that some classes such as Service.basic.svc.cs is ...
First, what i wanted to know is what i am doing is the right way to do it.
I have a scenario where i have will receive a json request and i have to update the database with that, once the db is updated i have to respond back with the json acknowledgment.
What i have done so far is create the class extending application as follows:
...
Hi,
I've been O'Reilly's RESTful web services this weekend and I can't seem to find an explanation of when a client would want to kick of a business process in a server.
For example, I want to kick off administrative jobs on a given host in an enterprise, so which verb in HTTP would this fall under?
I'm thinking it would be a POST(p) ...
Hello, this is my first post on this website, but I'm all the time getting answers for my questions here, through other users, so thank you very much.
Well, actually I'm creating a web application, specifically on rails.
All the models structure were built and now I was pretending to start to build the controllers and routing. So, I hav...
Hello, I have developed a REST service with Apache Jersey, running on Tomcat.
It works OK, but now I have to securize it using data obtained from a X.509 client certificate. I don't know where to start...
Could you guys give me some advices?? Thank you for your valuable help.
...
I am looking for online RESTful Web Service Demo and not good examples of RESTful API.
Are the following links the only available demos?
http://mooshup.com/mashup.jsp?author=keith&mashup=RESTDemo (REST and WSDL 2.0 Discussion continues)
http://www.thomas-bayer.com/rest-demo.htm
...