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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good day, Then from the server side as I can get the information of the issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.