Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trello REST API Put not working.

Righteous Phoenix June 8, 2018

So the problem is, I cannot get a PUT Request for /cards?closed=true&....

to work. I've even tried using the Trello API Rest API Demo, all it does is spin. Am I going crazy or is it just something else.

1 answer

0 votes
bentley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2018

👋You're trying to close a card, correct? 

Have you tried passing the data you'd like to change in the request's body? Using curl, you'd do the following:

curl -X PUT https://api.trello.com/1/cards/{idCard}?key={apiKey}&token={apiToken} -d '{ "closed": "true" }' -H "Content-Type: application/json"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events