RESTFul Web-service AFX response issue

We are using REST api POST method to create new user in MongoDB application which support JSON.

We are able to create/update user but having issue in getting response from the application in AFX. We are getting proper response while testing with RESTClient but in AFX it is giving below error messages when we configure different Content-Type and Accept values: