Answer the question
In order to leave comments, you need to log in
How to make multiline command in terminal?
The problem of writing a long command that does not fit into the entire line on the screen. It is necessary to somehow break this command into several lines. What do I need to do ?
For example, we have a team
[email protected]:~$ curl -X POST "https://google.com" -H "accept: */*" -d "{ \"Hello\" : \"world\" , \"hello2\" : \"world2\"}
[email protected]:~$ curl -X POST "https://google.com"
-H "accept: */*"
-d "{ \"Hello\" : \"world\" , \"hello2\" : \"world2\"}
Answer the question
In order to leave comments, you need to log in
curl -i -X POST /api/v1/upload \
-H "Authorization: Bearer <TOKEN>" \
-F "[email protected]/home/user/avatar.jpg" \
-F "type=avatar" \
-F "target_id=59a46a496964ab627abdff70"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question