How do I upload an image file captured from a webcam though UserMedia to a node server?

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
Create your own wss server and ws server with ssl and without ssl.
  • I have successfully set up a node server for uploading files using postman. But I cant quite replicate it using BinaryData and AJAX as post methods. I've tried also going the Base64 route, but also cant get it to work. I either get a malformed request, or when I use node with multer, I get 'Cannot read properties of undefined (reading 'imageData'). Help! Can anyone point me in the right direction? I'm using node to process webcam captures for removing image backgrounds, and then making them available in the server for reimport and usage. Ashley

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have also set up cors for this project and am able to get image files from the server successfully, and I am not getting any corss origin or security errors from, the console. what i am getting is a: '500 Internal Server Error' from the browser console.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)