|
|
|
Forum Member
Group: Forum Members
Last Login: 9/14/2008 11:01:15 PM
Posts: 11,
Visits: 69
|
|
| I'm in the process of implementing the Newsgator REST API in Adobe AIR and seem to be unable to delete a location successfully. If I use the the DELETE method on the location url, I get a response containing an for the location, but the location doesn't seem to be deleted (note also that the docs say there should be no response). I also tried what seems to be the alternate method of sending an empty POST request to the location url and I get the same response but no deletion of the location. Am I missing something?
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 9/14/2008 11:01:15 PM
Posts: 11,
Visits: 69
|
|
| I seem to be having the same problem with the DELETE request on subscriptions. I wondering if there is an issue with the DELETE method in Adobe AIR, but all other methods seem to be working fine. Additionally, making a DELETE request to delete a subscription is indeed getting a response, but the response looks the same as the response for a GET request for all subscriptions (which is not what the docs say the response should look like).
|
|
|
|
|
Forum Member
Group: NewsGator Staff
Last Login: 11/11/2008 11:22:44 AM
Posts: 24,
Visits: 118
|
|
| Hello, By chance did you get this working? I have no issues deleting a location by setting the HttpWebRequest method to DELETE. For instance, my example uses this as the url: http://services.newsgator.com/ngws/svc/Location.aspx/7 If you are still having issues, can you send an email to support@newsgator.com, reference this thread in the email and include attention Rob. Any additional information is helpful. Thanks, Rob
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 9/14/2008 11:01:15 PM
Posts: 11,
Visits: 69
|
|
| Yup, I just got it working. Adobe AIR has a number of different ways of communicating with web services and it seems that sending DELETE requests with AIR's HTTPService class wasn't working properly. Switching to working with the URLLoader and URLRequest classes solved it.
|
|
|
|
|
Forum Member
Group: NewsGator Staff
Last Login: 11/11/2008 11:22:44 AM
Posts: 24,
Visits: 118
|
|
|
|
|