ajax request should treat PUT like POST