no response object when creating an issue
Hi,
I'm having troubles receiving a response object after I successfully created an issue through the API with jQuery:
$.post(
"http://seeclickfix.com/api/issues.json",
{
api_key: "valid-api-key",
issue: {
"lat": lat-float,
"lng": lng-float,
"summary": summary-string,
"reporter_email": valid-email,
"address": address-string
}
},
function(data) {
console.log("success", data);
})
.success(function() { console.log("second success"); })
.error(function() { console.log("error"); })
.complete(function() { console.log("complete"); });
The status code is 200, OK, and the issue is created, but the
error handler is called and I don't see any response
data. Is there something wrong with my approach?
Any insights are highly appreciated!
Thanks,
Christian
Support Staff 2 Posted by Community Managers on 18 Jun, 2012 07:32 PM
Hey Christian,
Thank you for your message, and for your interest in SeeClickFix. I've passed your question along to our tech team, and I will give you an update as soon as I hear back from them. Please let me know if you have any other questions related to SeeClickFix.
Regards,
Kevin
Community Manager
SeeClickFix