Index: src/main/groovy/com/lemans/correspondence/controllers/FormSubmitController.groovy =================================================================== diff -u -r3ecf807f4027e53b3aaac2ffc17fc3617bfcc641 -r7b675fc917ba83258985ee14826d506319f87b11 --- src/main/groovy/com/lemans/correspondence/controllers/FormSubmitController.groovy (.../FormSubmitController.groovy) (revision 3ecf807f4027e53b3aaac2ffc17fc3617bfcc641) +++ src/main/groovy/com/lemans/correspondence/controllers/FormSubmitController.groovy (.../FormSubmitController.groovy) (revision 7b675fc917ba83258985ee14826d506319f87b11) @@ -24,7 +24,7 @@ FormSubmitService formSubmitService @PostMapping("/domain/{domainId}/form/{formKey}/submit") - def add(@PathVariable Integer domainId, @PathVariable String formKey, @RequestHeader('content-Type') String contentType, @RequestBody Map input, @RequestParam(required = false) Map params) { + def add(@PathVariable Integer domainId, @PathVariable String formKey, @RequestHeader("Content-Type") String contentType, @RequestBody Map input, @RequestParam(required = false) Map params) { Map formData = [:] if (contentType.contains('multipart/form-data') || contentType.contains('application/x-www-form-urlencoded')) { formData = extractFormData(params)