From 1aa816f04881df1ddf6e6d9bae016a157cf67de0 Mon Sep 17 00:00:00 2001 From: denis Date: Wed, 18 Nov 2026 14:32:49 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20linux/curl.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux/curl.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 linux/curl.md 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