Parse the request in a better way.