Bitcoin Forum
February 21, 2018, 04:27:50 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: blockchain.info api - how to determine if callback is valid.  (Read 551 times)
ytwg
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile
April 09, 2013, 08:01:07 AM
 #1

Hi, does anyone else use the blockchain.info api?
If so how do you determine that the callback is from them.
I used to use gethostbynamel("blockchain.info"); but then they changed the callback IP to one not in that list [185.7.149.10].
Yesterday they seem to have changed it again to [91.223.16.20].

Any idea how i can do this automatically without having to log their IPs and when a customer complains, update the php script?

1519187270
Hero Member
*
Offline Offline

Posts: 1519187270

View Profile Personal Message (Offline)

Ignore
1519187270
Reply with quote  #2

1519187270
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Zeilap
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
April 09, 2013, 08:07:46 AM
 #2

Hi, does anyone else use the blockchain.info api?
If so how do you determine that the callback is from them.
I used to use gethostbynamel("blockchain.info"); but then they changed the callback IP to one not in that list [185.7.149.10].
Yesterday they seem to have changed it again to [91.223.16.20].

Any idea how i can do this automatically without having to log their IPs and when a customer complains, update the php script?



Use https.

1GLeSqooAPe8PfWbJecnL3AteDac2B3cqj
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 1862
Merit: 1002

Newbie


View Profile
April 09, 2013, 08:18:15 AM
 #3

Quote
blockchain.info api - how to determine if callback is valid

I use a secret code and check it on callback.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!