ushahidi / crowdmap-issues

A centralized repository for filing, tracking and discussing bugs and features in Crowdmap.com and Crowdmap's API.
0 stars 2 forks source link

post request to /locations/ end-point without required parameters returns a 500 #391

Open zhalloran opened 10 years ago

zhalloran commented 10 years ago

A request like the following that doesn't contain the proper parameters returns a 500.

curl X POST https://api.crowdmap.com/v1/locations/ \ -A "My User Agent" \ -F "apikey=MYAPIKEY" -F "session=MYSESSION"

The issue originates with the locations resource. It can be addressed in either locations or the output renderer. This is a low priority bug