Python请求';s相当于旋度';s<&书信电报;?
我有一个API,它向我展示了一个使用Python请求';s相当于旋度';s<&书信电报;?,python,curl,Python,Curl,我有一个API,它向我展示了一个使用 curl -X POST -d "@-" -H "Content-Type: application/json" https://localhost.com/api/ <<EOF { "origin_id": "test_user_id" } EOF curl-X POST-d“@-”-H“内容类型:application/json”https://loc
curl -X POST -d "@-" -H "Content-Type: application/json" https://localhost.com/api/ <<EOF
{
"origin_id": "test_user_id"
}
EOF
curl-X POST-d“@-”-H“内容类型:application/json”https://localhost.com/api/ 根据男子卷发
:
If you start the data with the letter @, the rest should be a
file name to read the data from, or - if you want curl to read
the data from stdin.