Hi all,
We are doing some changes in our Bridge24 application to use the “search” endpoint instead of all other endpoints, to retrieve tasks. It’s more flexible and powerful for complexe query.
But, sometimes, the query is too long to run a “get”, so we use the batch API to send it as “POST” instead.
Using that trick, we can send longer call without trouble from the browser.
That makes possible to run filters like “projects.any=xxx,yyy” (list of 100 projects)
But, we found that, using “batch”, is very slow VS performing the direct call.
Example:
average runtime = 200 ms
the SAME query, in POST in a “batch” container:
average runtime = 1500 ms
We set a condition to use direct GET most of the time, but I am asking why is there so many difference between “batch” and “direct call”, for the same endpoint.