url = new URL("https://projectsapi.zoho.com/restapi/portals/" + parameters);
There is no error thrown for the line above, but when it gets to this line, an error 400 is returned-
BufferedReader bf = new BufferedReader(new InputStreamReader(request.getInputStream()));
Once again, I have my authorization token, and am able to instantiate the URL object successfully with (what I think) is the proper parameter. Does anyone know what could be going on here? Attached below is a screenshot of my entire code file.
Thanks!