I want to restart the REST service since even after adding a new service or services I don't see any change in the help page at all and afterward all the services don't work... Is their any solution to this... worst case scenario I have to create a new project all over again...
By the way Im using C# .NET 4.0
...
i am trying to Get the tweets from any user ... but it returns only last 7 day's tweets...
I want to retrieve tweets older than that... how to Do it.. .
Right now i am fetching tweets by
http://search.twitter.com/search.atom?q=from%3Amihirpmehta
this URL
but it only gives me tweets that are tweeted in last 7 days.
...
Hi,
I'm new to REST and I'm building a service using the WCF REST Starter Kit Preview 2 in C#.
Most examples showing how to define a UriTemplate assume that you know the exact format of the URL and can pick out the bits you need to perform the request. But...
How do I allow users to enter a URL that defines a hierarchy and how do I proc...
I have a resource, Inventory, that needs to be "show"ed about 4 different ways depending on the context. What is the best way to tackle this?
I was thinking that I could either pass in a parameter (param[:context]) that would have the "show" action render the right view. Or maybe I should make another controller, though that seems a...
I have a customer table which consists of almost a 50++ fields. I was just thinking if would it be feasible if I pass these through a XML formatted text since their are a lot of parameters
Sample Below:
[OperationContract]
[WebInvoke(UriTemplate = "new/customerxml/", Method = "POST", BodyStyle = WebMessageBodyStyle.Wrapped, ResponseFor...
Part of our RESTful API will allow users to register an item with a serial number. As the serial number is not globally unique it cannot be used as the identifier of the resource, so we'll use a POST to the parent resource which will generate an identifier, e.g.
POST /my/items
<item serial-number="ABCDEF" />
In the case where the ite...
Quick intro
I've built a system which requests stats from social network apis for 1000s of different subjects every 20mins.
So I do a call to each social network for each subject. This means im making 1000s of http requests for each 20 mins slot. The results are then processed in a separate task.
Current solution
I'm running php from ...
I am developing a RESTful API. One of the URLs allows the caller to request the record for a specific person by id.
What is the conventional value to return of the record for that id does not exist? Should the server send back an empty object or maybe a 404, or something else?
Thanks.
...
Is there any really lightweight RESTful frameworks around that assumes its users to be not newbies?
I am looking for something that is based on the below criteria
One that models resources ( for RESTful-ness )
Object oriented ( not just for the sake of it )
Not one that forces to use MVC
No unnecessary fat ( strange database layers an...
How do you send "commands" to a RESTful server?
Use case: My server caches certain information so that it does not have to read the database every time that information is requested. I need a way to send a command from my client application to tell the server to flush the cache. Would you use POST or PUT on some URL like ".../flush_cach...
I would like to expose some data to client applications via HTTP. For example, the client would go to URL: http://mysite.com/books/12345 to obtain data about book 12345. The client could do an HTTP PUT or POST to http://mysite.com/books/54321 to upload data about book 54321. Is this known as a RESTful web service?
I have no idea wher...
While creating a simple client for a REST service which I have stubbed out, I noticed that smartGWT's RestDataSource class is limited in the type of xml it can understand. All REST resources must respond with XML in the following format..
<response>
<status>0</status>
<startRow>0</startRow>
<endRow>10</endRow>
<totalRows...
I want to post to my newsfeed via the old REST API. If I use OpenGraph I can include in the content @1234567.. tags to tag other people in a post. Is that possible in the REST API?
EDIT: I added a 50 point bounty on a similar question http://stackoverflow.com/questions/1787413/is-there-a-way-to-insert-an-mention-into-a-facebook-status-u...
Hey all, I've got a client that is integrating a Rails 1.2.6 site with another site that exposes services RESTfully. Upgrading to Rails 2.x is not an option at this time. Does anyone have recommendations for methods other than direct Net::HTTP calls to communicate with the REST service? Techniques or Gem recommendations are welcome, b...
Possible Duplicate:
REST api versioning (only version the representation, not the resource itself)
Hello,
So I need to version my restful services. I understand that many place v1 or something similar in the URL to denote use of the "first version" of a resource. My question is, where in the URL should the versioning portio...
Im using WCF REST 4.0 meaning to say their is no .svc file.. So I have 3 different service classes in one service WCF Rest Application project. And I registered all these services in the Global.asax
What im trying to do is that I have a set of Business Functions from a lower framework e.g: .NET 1.0/2.0 where in i use datasets and not ca...
Client:
string value = "<?xml version=1.0?><person><firstname>john</firstname><lastname>smith</lastname> <person/>";
using (HttpResponseMessage response = m_RestHttpClient.Post("new/customerxml/"+value2, frm.CreateHttpContent()))
{
}
Server:
[OperationContract]
[WebInvoke(UriTemplate = "new/customerxml/string={value}", Method = "...
I'm developing a Software as a Service offering that other developers can use to integrate into their own sites running on Wordpress (and eventually other platforms). The backend will run on a set of REST webservices using Grails.
I want to create a set of Wordpress widgets that can automatically hook in to my web services. The wordpres...
Hi,
I'm trying to figure out how to best lay out a set of Restlet APIs.
I have a User entity, which might have the standard CRUD operations, which fits nicely into rest, but there are other ones too like "reset password", or "terminate".
What is the best way to lay this out?
Here is what i was thinking:
/1.0/user/update //perha...
Its a Grails app and we'd like to be able to add XML namespaces to the xml produced for REST clients. Most of the xml is output using "render foo as XML" with the deep converter.
So the output needs to be something like:
<foo xmlns:myns='http://mycompany.com/myproduct/ver'> ... </foo>
...