Project

General

Profile

Feature #27355

Updated by Toshi MARUYAMA over 6 years ago

Hi All, 

 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 . 

 <pre> 
 { 
   “status”:400, 
   “errorMessage”:”Wrong JSON format ,Please check ” 
 } 
 </pre> 

 Simply, 


 Simply , how to enable custom messages in BODY of response from REST call. In Redmine, Redmine , apart from issue creation with POST call, call , no other option (for e.g PUT) doesn't dosent provides any BODY to caller as response. 


 Thanks in advance .

Back