'curl: (6) Could not resolve host: summary

I have something wrong in my curl command and after a couple of tries I can't figure it out.

The full error log:

curl: (6) Could not resolve host: summary
curl: (3) bad range specification in URL position 19:
label);","event":["ONLOAD","ONCHANGE"]}],"mappings":{"10000":["10003"]}}

Curl command:

curl -d '{"description":"x","enabled":true,"uuid":"4e08d42a-03da-4134-83bc-8c136564bf55","projects":["10000"],"issueTypes":["10003"],"config":[{"fieldName":"parent","uuid":"4af7df30-1def-4d61-9663-d6a8c1c02222","script":"const summary = getFieldById('summary');\n    summary?.setName('Adjusted summary label');","event":["ONLOAD","ONCHANGE"]}],"mappings":{"10000":["10003"]}}' -H "Content-Type: application/json" -X POST https://mylink

Any help would be extremely appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source