Добавить linux/curl.md
This commit is contained in:
11
linux/curl.md
Normal file
11
linux/curl.md
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
### Отправка POST
|
||||
curl -X POST http://ваш-домен/api/posts \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Accept: application/json" \
|
||||
-d '{
|
||||
"users": [
|
||||
{ "user": "123" },
|
||||
{ "user": "234" }
|
||||
]
|
||||
}'
|
||||
Reference in New Issue
Block a user