# Request session.json file when push the publish button

**URL:** <https://community.wowza.com/t/request-session-json-file-when-push-the-publish-button/93080>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [March 31, 2021, 4:52am UTC](https://community.wowza.com/t/request-session-json-file-when-push-the-publish-button/93080 "2021-03-31T04:52:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim\_mankyu](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kim\_mankyu](https://community.wowza.com/u/kim_mankyu)\
**Post date:** [March 31, 2021, 4:52am UTC](https://community.wowza.com/t/request-session-json-file-when-push-the-publish-button/93080/1 "2021-03-31T04:52:57Z")

</div>

I am proceeding with an example of publishing through socket communication with the media server. We found that pressing the Publish button requests json file on the Network tab. Why is this happening?

 ![스크린샷 2021-03-31 오후 1.52.45](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/1d7f776fa2913d1c87fa671d8f4872c483a8d64c.png)

How does it affect the procedure in which publishers communicate with media servers?

thank you

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [March 31, 2021, 11:46am UTC](https://community.wowza.com/t/request-session-json-file-when-push-the-publish-button/93080/2 "2021-03-31T11:46:31Z")

</div>

That’s how websockets work; you send a HTTP request to the server and you get a HTTP 101 back which will set up the ws communication. WebRTC uses websockets for signaling
