Answer the question
In order to leave comments, you need to log in
In what format does the server send data?
In what format does the server send the data?
quotes.weltrade.com/export/quotes.json here seems to be Json , but it's kind of strange
How to pull the first digit after eurusd into a variable
here is the request code
<?php
$ch = curl_init('http://quotes.weltrade.com/export/quotes.json');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, false );
curl_setopt($ch, CURLOPT_POST, true);
$result = curl_exec($ch);
$course = json_decode($result);
var_dump($course);
curl_close($ch);
?>
quotes()int(1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question