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

POST Batch request

Marc August 30, 2022

Hi Guys N Girls

I've created a Webshop with Trello as it's backend. Unusual, I know. But it's great so far.

Now when a user orders multiple products, I make calls to the API for every product and wait for the response. Each product is a card in Trello.


Performance measures I did:

1 product
575ms (3 POST requests to a single card)

8 products
6.67s (3 POST requests for each card)

 

As expected, the time scales with the number of ordered articles.

I know you can make GET batch requests but as fas as I see there are no POST batch requests. This would speed up the process of an order. Is there no way to do POST batch requests?

 

1 answer

0 votes
Vishaal S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 5, 2022

Hi Marc,

Welcome to the Trello community!

Our batch API call doesn't support PUT requests and using the batch API wouldn't get around the rate limit either.

I would also suggest posting your question to our developer community. Other seasoned developers hang out there they might be helpful to brainstorm solutions for those API issues: https://community.developer.atlassian.com/c/trello

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events