Gateway validates http requests