简体   繁体   中英

Trello + Butler, how do you post card info to my api?

I am trying to use Butler to post a request to my API with card info. Butler looks like this: 在此处输入图像描述

How do I send the card info inside the payload? Butler has variables like {cardname} but how would I set this up to send a request properly?

You just need to send all your data in a JSON format with appropriate Butler variables.

For example, in your payload

{ "yourKey": "{cardname}" }

I used variable {cardname} , but you can use all other that you need.

The same rules goes for Headers if you need some.

Remember that in your code you'll receive data as a plain string inside your request body.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM