get the context from the request