# request (curl notation, sent through MockMvc): curl -H 'HX-Request: true' -d 'name=Zoya Khan&email=zoya@example.com&role=Developer' /contacts HTTP 200 Vary: HX-Request Vary: HX-History-Restore-Request HX-Redirect: /contacts ---- body (0 chars) ---- # request (curl notation, sent through MockMvc): curl -d 'name=Zubin Irani&email=zubin@example.com&role=Tester' /contacts HTTP 302 Vary: HX-Request Vary: HX-History-Restore-Request Location: /contacts ---- body (0 chars) ----