How to connect with Pi Web Api Channel using java
i am facing difficultly to pass Pi credentials.
May I know what type of authentication are you using to access PI Web API? Basic, Kerberos etc?
I am using Basic security
I have never tried to do that but I would start by looking at the java.websocket class. I have found an article that might help you. As Eugene has mentioned, don't forget to add the authentication header if it is appropriate.
Hope it helps!
I am accessing a secure URl (wss://piInstance/piwebapi/), the article does not explain the procedure to access a secured URL
I found this stack overflow thread.
Please let me know if this works for you.
I want to access values using Pi web channel using a secured URL.
My web-socket client is in java using jetty container.
Retrieving data ...