Move `get_request` and `post_request_without_name` to the relevant functions since they are only useful for the specific tests.