goog day, I have problems connecting from a plugin to a rest api, since the method doFilter. thanks.
the solution is: change -->httpGetRequest.setHeader("Authorization", "Basic "+Base64.encodeBase64String("admin:admin".getBytes()));
for
httpGetRequest.setHeader("Authorization", "Basic "+new String(Base64.encodeBase64("admin:admin".getBytes())));
Can you give a bit more details? Are you calling an existing interface or your new interface?
Are you calling REST interface from within the Javascript or from server side Java code? Server side calling of REST is not a good idea.
Good day, Then from the server side as I can get the information of the issues?
It looks like you're new here. Sign in or register to get started.