replace Get/PostRequest with Request struct