Skip to main content
Answered

Creating a board using p5.js / javascript

  • June 27, 2020
  • 1 reply
  • 1189 views

Hello,

 

I would like to create a board using a p5.js program I am developing. It takes JavaScript. However, when I copy paste the code Miro generates, it returns null, where as it should have returned me an object. I tried the other languages and they work fine. Although, I need the JavaScript working.

 

Could someone please help me?

 

PS. I tried both fetch and xhr

Best answer by Viktor Dolhishev

Hi @tahsin can sarlak

 

It’s not possible at the moment because of CORS error. You can use API only from the backend(e.g. Nodejs). Miro Team is aware of it. Sorry for the inconvenience.

1 reply

Viktor Dolhishev
Mironeer

Hi @tahsin can sarlak

 

It’s not possible at the moment because of CORS error. You can use API only from the backend(e.g. Nodejs). Miro Team is aware of it. Sorry for the inconvenience.