Created
September 22, 2022 00:33
-
-
Save fishyer/fdcb0ae88174838ce42b31b1eb972183 to your computer and use it in GitHub Desktop.
葫芦笔记的API-curl用例
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'https://www.hulunote.com/myapi/quick-text-put/868253a542864a498090260f24XXXXXX' \ | |
--header 'Host: www.hulunote.com' \ | |
--header 'Accept: application/json, text/plain, */*' \ | |
--header 'Accept-Language: zh-CN' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Sec-Fetch-Dest: empty' \ | |
--header 'Sec-Fetch-Mode: cors' \ | |
--header 'Sec-Fetch-Site: cross-site' \ | |
--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) uTools/3.0.2 Chrome/102.0.5005.167 Electron/19.0.10 Safari/537.36' \ | |
--header 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="102"' \ | |
--header 'sec-ch-ua-mobile: ?0' \ | |
--header 'sec-ch-ua-platform: "Windows"' \ | |
--data-raw '{"content":"test-001"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment