change ajax data type post to get