[ckan-dev] Subject: Re: problem inserting a row in the dataset

fwolanczyk at cs.com fwolanczyk at cs.com
Mon Jun 3 01:54:26 UTC 2013



hi all,
okay, still problems - i tried the "post" in my ios request, and it isn't that, 


more simply, if you just put the following line in a browser, you get output - the query works fine, the problem is with the insert


http://sandboxdw.pediacities.com/api/3/action/datastore_search?resource_id=16d8ab0b-38bd-41b4-9b0c-49ff0420d4f1&limit=5


result is the 5 rows...


 the problem is with the insert



http://sandboxdw.pediacities.com/api/3/action/datastore_upsert?resource_id=16d8ab0b-38bd-41b4-9b0c-49ff0420d4f1&records=[{\"Division\":\"BMTFake\",\"Line\":\"BroadwayFake\",\"Station_Name\":\"49th St\",\"Station_Latitude\":\"40.760621\",\"Station_Longitude\":\"-73.984139\"}]&method=insert


this line returns 



"Bad request - JSON Error: No request body data"


im at my wits end... help!!
fran w






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130602/7ad9180d/attachment-0001.html>


More information about the ckan-dev mailing list