parse and map request