I have been using this Java poloniex api project for few months but i am facing some issue from last month. I know this is nothing to do with this project but with Poloniex. And because of the issue i am not able to use this project.
The issue is with the Security Check. Earlier, poloniex didn't had this feature and when we hit a url it will directly take us to the respective page. But nowadays it's asking to complete the security check (some kind of image recognisation). Once completed it's returning some cache. For manual this is fine.
But the issue is, for api calls also, it's asking the same security check. For eg,public api , is taken us to this page instead of returning the values.
Also, i am getting the same response if i check with other's machine also and this is nothing to do with my poloniex account.
Below is the code that i have tried(need to setup the project from git TheCookieLab ):
public static void main(String[] args)
{
PoloniexPublicAPIClient bitcoin = new PoloniexPublicAPIClient();
System.out.println(bitcoin.returnTicker());
}
Have attached the response(security check page instead of data). resp.txt
- I would like to know if anyone else faced the same issue and the solution?
- Is it possible to pass the cache that i got from browser along with the api call?
This is applicable for all the api calls. Kindly refer here for more details about Poloniex API
I have been stuck here for more than a month. Your time and help are much appreciated.