-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow REST request to plain http servers #3
Comments
It is private, but you can set it via the |
I'm just creating a class that extends RestAPI. that method is not exposed there. It is very likely that I'm doing this the wrong way. |
Well, I'd say one of 2 things:
|
Could be fixed by adding this to RestApi.java
|
Ah, sorry! Misread which class you're extending! Yes, that would allow you to set it after instantiating the class. I usually set it in the constructor of my class which extends RestApi. |
A good fix would be allowing "useSsl" in RestRequest to be public instead of only private.
I had to change the default to false in order to make it work for me.
The text was updated successfully, but these errors were encountered: