V
V
Vitaly2018-11-06 18:01:31
JavaScript
Vitaly, 2018-11-06 18:01:31

How to send http request with Cyrillic parameter in node js?

All the best!
I'm trying to send an http get request to a node, with a Cyrillic parameter.
But unfortunately, neither node-fetch nor node request can do it right out of the box :(
On node version 8.x, the request is sent, but something is wrong with the encoding, and incomprehensible things come,
On node 10.x and higher - even not sent, returns an error :(
Maybe someone has already encountered this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Skibin, 2018-11-06
@Scorpiored88

escape, corny through the same encodeURIComponent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question