# How do I save requested audio using the varset plugin?

**URL:** <https://forums.unrealengine.com/t/how-do-i-save-requested-audio-using-the-varset-plugin/1543146>\
**Category:** Blueprint\
**Tags:** unreal-engine, http, question\
**Created:** [December 21, 2023, 2:18pm UTC](https://forums.unrealengine.com/t/how-do-i-save-requested-audio-using-the-varset-plugin/1543146 "2023-12-21T14:18:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaohu-233](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xiaohu-233](https://forums.unrealengine.com/u/xiaohu-233)\
**Post date:** [December 21, 2023, 2:18pm UTC](https://forums.unrealengine.com/t/how-do-i-save-requested-audio-using-the-varset-plugin/1543146/1 "2023-12-21T14:18:45Z")

</div>

In Unreal Engine, I am using the varset plugin. I want to use the “get” method to request the audio, but I don’t know how to get the audio and save it.

 ![微信截图_20231221140931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/c/a1c7c045d15c7945ef1bc905e097ef47fe2bbab4.jpeg)

I want to convert the python code into a UE5 blueprint, here is the code that uses the “get” method to request to get the audio saved locally.

```
if response.status_code == 200:
    save_path='C:/Users/Administrator/Desktop/test.wav'
    with open(save_path, 'wb') as file:
        file.write(response.content)
    print('File downloaded successfully.')

```
