I am getting an Internal Server Error as a response when I make a request to question and answer service. Here is the response I am getting.
Also, I expect the response to be coming in the form of Json.
Answer by German Attanasio Ruiz (4975) | Oct 30, 2014 at 08:56 AM
Make sure you are sending the Authorization
parameter as part of the header in the request.
HTTP 401 means Unauthorized
If you are using Apache http client, you can read more about Basic Auth here: http://hc.apache.org/httpclient-3.x/authentication.html
Answer by bhagya_sc1 (16) | Oct 30, 2014 at 05:38 AM
I had missed the tail part of the url /v1/question/{domain}. Its working now. However, if I try to execute it from on a standalone jave program, gets a response of 401.,I had missed out on the tail part of the url which is /v1/question/{domainname}