# How to use connection timeout when using rest api?

**URL:** <https://community.wowza.com/t/how-to-use-connection-timeout-when-using-rest-api/93908>\
**Category:** Wowza Streaming Engine\
**Created:** [October 4, 2021, 6:21am UTC](https://community.wowza.com/t/how-to-use-connection-timeout-when-using-rest-api/93908 "2021-10-04T06:21:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heeyeon\_jang](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@heeyeon\_jang](https://community.wowza.com/u/heeyeon_jang)\
**Post date:** [October 4, 2021, 6:21am UTC](https://community.wowza.com/t/how-to-use-connection-timeout-when-using-rest-api/93908/1 "2021-10-04T06:21:33Z")

</div>

How to use connection timeout when using rest api?

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [October 4, 2021, 5:32pm UTC](https://community.wowza.com/t/how-to-use-connection-timeout-when-using-rest-api/93908/2 "2021-10-04T17:32:05Z")

</div>

See this link [https://www.wowza.com/docs/wowza-streaming-engine-rest-api-overview](https://www.wowza.com/docs/wowza-streaming-engine-rest-api-overview). But mostly timeout is set on the client that reads the url and not on the server side.

Whatever client you are using to consume the api should be having a read timeout configuration. Like this [https://www.baeldung.com/httpclient-timeout](https://www.baeldung.com/httpclient-timeout)
