Invalid value for text on Trello Rest API

I’m trying to automate a new comment into a card
running

 curl -v --request POST --url https://api.trello.com/1/cards/5ea7558d27ed0/actions/comments?key=0178c14f&token=06128ee9bb1078&text=Automated+Closure

this returns with error

* Connection #0 to host api.trello.com left intact
invalid value for text

Note the ‘curl’ command above does not include the actual value for key and token and the {id} of the card.

But so whats wrong with text=Automated+Closure

resolved by wrapping the value of --url in single quotes and thus

--url `https://api.trello.com/1/cards/5ea7558d27ed0/actions/comments?key=0178c14f&token=06128ee9bb1078&text=Automated+Closure`
1 Like