Small improvements to the API


Just a quick message to let you know about two small improvements we've made to the API based on user feedback.

Access-Control-Allow-Origin: *

We've added an 'Access-Control-Allow-Origin: *' header to all API repsonses.

This makes it possible for your client-side JavaScript to now make cross-origin requests directly against the API.

POST accepted on all methods

All methods have been adapted to accept POST requests as well as GET requests, and you can now pass method parameters in the POST body rather than the URL.

This is particually useful if you are requesting crimes for a complex custom shape on the crimes-street method and have a 'poly' parameter longer than 4094 characters.