Problem getting data from API with Ajax request #379
-
Hi! I am trying to get data from a public API into cables.gl but I get this error message: Error: Problem while loading json: The API URL looks like this: The data is null and the response is null. But I can open the link in my browser and it should be in regular json format. Could anybody help me figure this out? I am a beginner when it comes to using API:s. All help is much appreciated! /Tomas |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
try https instead of http also keep cors in mind: https://cables.gl/docs/4_export_embed/cors/cors |
Beta Was this translation helpful? Give feedback.
-
learn to use dev-tools: open them and see the errors |
Beta Was this translation helpful? Give feedback.
try https instead of http
also keep cors in mind: https://cables.gl/docs/4_export_embed/cors/cors