I get an error message when I access a REST API via load text file()
load text file ("http://api.open-notify.org/iss-now.json");On the other hand, it works when I use web()
New Window("", web browser = Web Browser Box ( "http://api.open-notify.org/iss-now.json", JMP window ));
Is there a way to retrieve the JSON string via the Web Page Box?
web browser << Get text;
<A href="http://api.open-notify.org/iss-now.json" target="_blank" rel="noopener nofollow noreferrer">http://api.open-notify.org/iss-now.json</A> is just used to explain the difference. With this API both approaches work.