Updated resources, and modified ajax request to POST