Use curl to add note

Why I fail to use curl to add note to ankiweb ?
I really don’t like anki-connect

curl 'https://ankiuser.net/svc/editor/add-or-update' \
  -H 'accept: */*' \
  -H 'accept-language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7' \
  -H 'content-type: application/octet-stream' \
  -b 'has_auth=1; ankiweb=somethinghere' \
  -H 'origin: https://ankiuser.net' \
  -H 'priority: u=1, i' \
  -H 'referer: https://ankiuser.net/add' \
  -H 'sec-ch-ua: "Not:A-Brand";v="24", "Chromium";v="134"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-origin' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36' \
  --data-raw $'\n\u0004hello\u001a\u000e\u0008\u0085ÚøµÜ2\u0010ý\u0099µÜ2'