Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python请求';s相当于旋度';s<&书信电报;?_Python_Curl - Fatal编程技术网

Python请求';s相当于旋度';s<&书信电报;?

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

我有一个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://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.