Specs for encode_request_with