PHP API Client - Cloudfare issue

蚂蚁矿池 • 综合讨论区 • lutz • 于2016-01-03 11:03:08发布 • cmpcgaming2016-01-08 00:21:17回复 • 共1590次阅读

Hey Guys,

 

i have published a PHP API Client for your Antpool API on Github.

https://github.com/Elompenta/antpool-php-api


At this Moment we use "Matt's Alternative AntPool API" to request your API, because Cloudflare will block every request that will not pass Layer 7 Security checks.

To trick out and proxy all request is not the goal of a REST-API!


Can you please check your Cloudflare configuration for incoming API-requests.


You can set specific configuration on Cloudfare: https://support.cloudflare.com/hc/en-us/articles/200504045-Using-CloudFlare-with-your-API

"As requests to an API are typically made outside of a browser, we advise creating a page rule for your API's URL pattern to ensure that these features do not limit access to your API."


I hope you will bring back API-access for everyone


Thanks and best regards,

Sebastian


共收到5条回复
conrad_pearson • #1 • 2016-01-03 16:41:45
Perhaps you should send this in on a support ticket to be sure one of them sees it?
lutz • #2 • 2016-01-03 16:52:38
Perhaps you should send this in on a support ticket to be sure one of them sees it?

thanks - its already done.

If anyone need a PHP API - it can use them now.

We have created a temporary workaround for the moment.


For a long term solution i will talk with the antpool support and will update this thread

matthieu • #3 • 2016-01-06 18:10:17
Hi Sebastian,

I just tested your PHP API and it works fine for me. Thanks :)
lutz • #4 • 2016-01-07 18:25:44
Hi Sebastian,

I just tested your PHP API and it works fine for me. Thanks :)


Thanks for your Feedback ;)

cmpcgaming • #5 • 2016-01-08 00:21:17
can you make one for hashnest or can this be used with hashnest as well?

您需要登录后方可回复, 如果你还没有账号你可以注册一个帐号。
 创建新帖
全网算力 & 挖矿难度
 PH/s
比特币行情(24H)
最新区块
高度:  
大小:  
Nonce:  
Bits:  
播报方:  
USD  % 
EUR  € 

小贴士
 
AntPool 蚂蚁矿池

QQ群 227819626