I can't use your api because I don't find the way to provide the apiKey in an HttpURLConnection.
So I always get the "401" code.
What is the format to provide it?
Did you review our Introduction to UseResponse RESTful API article?
yes. My problem is that I can't find the way to provide the apiKey to authenticate the request in java using an HttpURLConnection.
I also checked your PHP examples.
You can try the following example:
URL obj = new URL("https://community.com/api/4.0/method?apiKey=xxxxx");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
Yes, thank you.
Comments have been locked on this page!