Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
6.7k views
in Q2A Core by
Q2A version: 1.6.3

1 Answer

0 votes
by

The header sent back when you click the button is: 406 Not Acceptable

Your backend service is saying that the response type it is returning is not provided in the Accept-Type HTTP header in your Client request.

Ref: http://en.wikipedia.org/wiki/List_of_HTTP_header_fields

  1. Find out the response (content type) returned by Service.
  2. Provide this (content type) in your request Accept header.

...

406 happens when the server cannot respond with the accept-header specified in the request. In your case it seems application/json for the response may not be acceptable to the server.

from http://stackoverflow.com/questions/14251851/what-is-406-not-acceptable-response-in-http

 

...