DELETE Location not working?

Newsgator Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



DELETE Location not working? Expand / Collapse
Author
Message
Posted 7/13/2008 1:53:18 AM
Forum Member

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?
Post #41241
Posted 7/13/2008 11:38:05 PM
Forum Member

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).
Post #41268
Posted 7/23/2008 5:11:43 PM


Forum Member

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

Post #41516
Posted 7/25/2008 7:02:22 PM
Forum Member

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.
Post #41634
Posted 7/29/2008 10:30:22 AM


Forum Member

Forum Member

Group: NewsGator Staff
Last Login: 11/11/2008 11:22:44 AM
Posts: 24, Visits: 118
Good to hear!

Thanks,

Rob

Post #41813
« Prev Topic | Next Topic »


All times are GMT -7:00, Time now is 11:39pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 8 queries. Compression Disabled.

NewsGator.com | Support | Developers | Partners | Press | Company
© Copyright 2003-2008  NewsGator Technologies, Inc. All Rights Reserved.
Copyright Information | Privacy Policy | Terms of Service
Microsoft Gold Certified Partner