<?php
        
// Your data
        
$your_api "api_key";

        
$url "http://relink.to/api/bank.php?key=".$your_api."";
         
        
// create a post request
        
PostRequest($url);
        
/*
        ** The function:
        */
         
        
function PostRequest($url) {

            
// convert variables array to string:
            
            
            
$ch curl_init($url);                                                                      
            
curl_setopt($chCURLOPT_CUSTOMREQUEST"GET");                                                                                                                                      
            
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);                                                                      
                                                                                                                 
            
$result curl_exec($ch);
            echo 
$result;
        }
        
?>