W
W
Wynell_ru2019-08-14 18:59:03
Images
Wynell_ru, 2019-08-14 18:59:03

How to upload image to server using NodeJS?

Hello.
I was interested in how you can implement a thing
like "Dynamic header for the VKontakte group".
I learned that on the server side you can also make an image
using canvas and the "canvas" library for NodeJS
(if there are better solutions, please tell me).
Got the base64 code of the image.
But now the question arose, how to upload it to the VKontakte server (or any other)?
How to pass it to the request
using request or node-fetch?
(also, if there are better options, please tell me)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question