changed get request to post