I'm deploying worker on Cloudflare via script, it says couldn't resolve host?

curl -X PUT “https://api.cloudflare.com/client/v4/accounts/00000000000000000000000000000000/workers/scripts/example

 -H  "Authorization: Bearer $CF_API_TOKEN" 
 -H "Content-Type: application/javascript" 
 --data-binary "@worker/script.js"

This is the API Call, and the response is
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 113 0 113 0 0 113 0 --:–:-- 0:00:01 --:–:-- 100
curl: (3) Port number ended with ’ ’
curl: (3) Port number ended with ’ ’
0 0 0 0 0 0 0 0 --:–:-- 0:00:09 --:–:-- 0

curl: (6) Could not resolve host: worker

What’s the issue in this call?