Support for custom methods against the API, support for POSTs to API when using it on same-domain