Closed nellessen closed 11 years ago
@nellessen. I'm going to close the issue. We've now got the beginnings of a kickass API here: https://github.com/taarifa/taarifa_backend, let's finish off the last remaining issues and smash the new API out of the park!
Since we do not have a proper API it is hard to implement a really awesome offline capability. One major problem is, that submitting a report with ajax must use the same post request the report form uses. This is a 'normal' http request that does return the same content the normal report form would do. This response does not contain a machine readable information of whether the submission was successful or not. The status code will be 200 even though the submission fails. If we implement the javascript validation feature (https://github.com/taarifa/Taarifa_Web/issues/44) we overcome this gap quite well but there might still be other reasons why submission fails.