The following is a generic "Send an email to a user" endpoint, in a java application with SpringBoot framework.
Hitting it manually with Postman works as intended, but hitting it from the mobile frontend (largely react JS based) with the following JSON:
{recipientAddress: 'sample@gmail.com', subjectLine: 'a', messageBody: 's'}
Throws the following error:
Required request body is missing: public boolean
[. . .].Controllers.API.ApplicationUserController.sendEmail([. . .].Models.DTOs.EmailDTO)
I don't know where this would be coming from, as the RequestBody does not have a boolean, and the DTO it does request also does not have a boolean anywhere in it. The only boolean involved is the return value, but that wouldn't be relevant to the exception in question.
