changing POST to GET for request to get data from wordpress