config a request