How to provide custom acknowledgement meesage in resposne BODY of Redmine REST API POST call
How to provide custom acknowledgement format as response to REST API call (POST) in Redmine while while user tries to create the issue with wrong JSON format using REST POST call.
Below should be response BODY along with status code as 400 .
“errorMessage”:”Wrong JSON format ,Please check ”
Simply , how to enable custom messages in BODY of response from REST call. In Redmine , apart from issue creation with POST call , no other option (for e.g PUT) dosent provides any BODY to caller as response.
Thanks in advance .