I get responses from Postman and it is successful, my baseUrl is set to the IIQ instance on AWS and I use basic authentication with spadmin and password in the call:
However it does not work exactly as I want it to, the method getActiveAccounts is not returning anything, it is as if my Backend java classes do nothing and my Path mapping is not working correctly in the class.
Here is my file structure, it is maven/spring boot:
Just try returning the actual Java object from the endpoint method (similar to how the getPluginName method is set up). For example, return a String type from your method for your responseString variable you’ve created. I’ve always returned the Java data type in these methods which works.