change ajax request method