Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,131
Community Members
 
Community Events
168
Community Groups

POST Batch request

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 Sep 05, 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

Atlassian Community Events