diff --git a/linux/curl.md b/linux/curl.md new file mode 100644 index 0000000..a9ab6d9 --- /dev/null +++ b/linux/curl.md @@ -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" } + ] + }' \ No newline at end of file