Answer the question
In order to leave comments, you need to log in
How to set Russian encoding in BATCH file with json CURL request?
Good afternoon
I'm doing a simple kind of script, but it came out crap with a Russian string.
SET /P TITLE=Enter NAME:
SET JSON="{\"name\":\"%TITLE%\"}"
curl.exe -H "Content-type: application/json" -X POST http://********.ru/video -d %JSON%
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question