• Hi Admin,

    I’ve sent several emails but no response. How can i fetch value from an external link which i’ll use to prefill a field. e.g. I want to get the current exchange rate from bitstamp via the link below and prefill it in my number or text field.

    https://www.bitstamp.net/api/v2/ticker/btcusd

    i tried using the code below to fetch and filter out my value but its not working

    $url = “https://www.bitstamp.net/api/v2/ticker/btcusd”;
    $json = json_decode(file_get_contents($url), true);
    $price = $json.last;
    return $price;

    I’m expecting your response. Thanks

    • This topic was modified 6 years, 6 months ago by lordtech.

The topic ‘Fetch Value from External Link’ is closed to new replies.