# Syntax for player\_video\_poster\_image with REST api?

**URL:** <https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010>\
**Category:** Wowza Player\
**Created:** [October 2, 2019, 10:13am UTC](https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010 "2019-10-02T10:13:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Sewell](https://avatars.discourse-cdn.com/v4/letter/b/b5ac83/32.png) [@Ben\_Sewell](https://community.wowza.com/u/Ben_Sewell)\
**Post date:** [October 2, 2019, 10:13am UTC](https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010/1 "2019-10-02T10:13:00Z")

</div>

Using html5 player with wowza cloud and the REST API.

What’s the correct syntax for sending a base64 encoded string through the fetch request?

Thanks

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 2, 2019, 5:38pm UTC](https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010/2 "2019-10-02T17:38:35Z")

</div>

Let me know if this helps you @Ben Sewell

[https://github.com/WowzaMediaSystems/wsc-sdk-ruby/blob/master/README.md#sending-files-through-the-sdk](https://github.com/WowzaMediaSystems/wsc-sdk-ruby/blob/master/README.md#sending-files-through-the-sdk)

---

<div class="post-metadata">

**Author:** ![Ben\_Sewell](https://avatars.discourse-cdn.com/v4/letter/b/b5ac83/32.png) [@Ben\_Sewell](https://community.wowza.com/u/Ben_Sewell)\
**Post date:** [October 3, 2019, 1:59pm UTC](https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010/3 "2019-10-03T13:59:35Z")

</div>

Thanks @Rose Power-Wowza Community Manager

Unfortunately not, can you provide an example of a base64 encoded string as it would be sent in the REST ‘create live stream’ request?

---

<div class="post-metadata">

**Author:** ![Ben\_Sewell](https://avatars.discourse-cdn.com/v4/letter/b/b5ac83/32.png) [@Ben\_Sewell](https://community.wowza.com/u/Ben_Sewell)\
**Post date:** [October 3, 2019, 1:08pm UTC](https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010/4 "2019-10-03T13:08:19Z")

</div>

Thanks,

Had to use the string.replace method to remove the prefix from base64 encoded string response.

---

<div class="post-metadata">

**Author:** ![Amara\_Graham](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/amara_graham/32/381_2.png) [@Amara\_Graham](https://community.wowza.com/u/Amara_Graham)\
**Post date:** [October 3, 2019, 2:01pm UTC](https://community.wowza.com/t/syntax-for-player-video-poster-image-with-rest-api/54010/5 "2019-10-03T14:01:21Z")

</div>

I think your posts got jumbled as one was flagged for moderation. Is this working for you now after using string.replace?
