Answer the question
In order to leave comments, you need to log in
How to correctly access the server via json from under php?
Trying options
$jsonLink = ‘http://speller.yandex.net/services/spellservice.json/checkText?text=malavi’;
//1
$data1= json_decode($jsonLink);
var_dump($data1);
//2
$data2 = file_get_contents($jsonLink);
var_dump($data2);
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