Dreaded 004 Message: Data was not sent by post method!


#1

Hi,

I am new to the Ushahidi AI, and I am trying to set it up so that reports can be submitted via HTTP. I am using the API to do this, but when I attempt to POST via the "submit" API, I get the following message:


Message Code 004: Data was not sent by post method


I can use the API to retrieve data from my installation by using the GET method, but why can I not POST? The MySQL server is set up fine and POST is taking place using different methods using PHP.


Is there a Config setting that should allow anonymous posts via HTTP? If so, I cannot find it. By default is this switched off?


My URL string is as follows... it appears fine to me!

http://www.mywebsite.com/api?task=report&incident_title=test&incident_description=testdescription&latitude=54.8&longitude=-7.9&incident_category=3&location_name=nairobi&incident_date=05-12-2012&incident_hour=12&incident_minute=47&incident_ampm=pm


Thanks for your help with this. I am guessing it is a tiny permission setting, but unsure where this is.


Thanks a lot,

H.



#2

HI Horacegrant. Were you able to get this issue resolved?

You can also contact us via these channels

Heather