A
A
Andrey2017-08-14 19:50:15
JSON
Andrey, 2017-08-14 19:50:15

How to load json from a link?

How to load json from a link using the example https://search.acestream.net/?method=search&api_ve... to your site page and display it in a parsed form? I found examples in javascript, but there the download occurs according to the json file already uploaded on the site, like file.json, and I need to download json from the link, how can I do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Pushkarev, 2017-08-14
@AXP-dev

Well, you can skip through your server. If this does not work, then only jsonp

A
Andrey Sanych, 2017-08-14
@mountpoint

An analogue of the file_get_contents function, only for JS javascript.ru/php/file_get_contents

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question