# Phoenix API batch endpoint

**URL:** <https://forum.elixirforum.com/t/phoenix-api-batch-endpoint/59235>\
**Category:** Questions\
**Tags:** phoenix, batch\
**Created:** [October 25, 2023, 12:53pm UTC](https://forum.elixirforum.com/t/phoenix-api-batch-endpoint/59235 "2023-10-25T12:53:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![krasenyp](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/krasenyp/32/39733_2.png) [@krasenyp](https://forum.elixirforum.com/u/krasenyp)\
**Post date:** [October 25, 2023, 2:24pm UTC](https://forum.elixirforum.com/t/phoenix-api-batch-endpoint/59235/2 "2023-10-25T14:24:47Z")

</div>

You might want to look into using `YourRouter.call/2` instead of `Phoenix.ConnTest.dispatch/5`. Using the latter in a non-test setup just feels strange to me.

---

_[View the full topic](https://forum.elixirforum.com/t/phoenix-api-batch-endpoint/59235)._
