generating the correct request for GET