Thanks for the comment!! To upload any type of file you need to define it in the header of you HTTP Request with the key “content-type” header('Content-type: image/jpeg'). However, I haven’t test the VaRest plug-in for this since now I use my own C++ module to handle the communications in my project, because it gives me mor freedom. In my last video I show how can you make a request using C++, but since you are not the first that ask me this I will try to catch up with the channel and make a video, showing how to make it using C++ and/or the plug-in VaRest. If you are interested on this please let me know! Happy coding.
In theory making a GET request to an API that return for you audio file, will allow you to do that, do you have any specific API that you are working on? So I can take a look :)
@@tipicott If I wanted to get the audio URL from the JSON data, also with a quick response, there is a concept called WebSocket. How can I achieve it?(It is from a company that I'm not allowed to share)
I understand, if you want to communicate using WebSocket, there is a native module within Unreal Engine for that.@@user-DEV_V I can make a quick video about it; for example, I use it within my own module to connect with the cloud using C++. Let me know if will be interesting for you to see this... docs.unrealengine.com/5.3/en-US/API/Runtime/WebSockets/ Here is the C++ class that can be used for it.
Thank you for the detailed explanation!
Thank you sooo much!!!!!!! Been looking for this for quite some time.🙂
this is a great tutorial, thank you super helpful
Thanks a lot ! You save me a lot of time !
Very good, thanks.
Thank you for the video !
how can I upload an image or a pdf in the request ?
Thanks for the comment!! To upload any type of file you need to define it in the header of you HTTP Request with the key “content-type” header('Content-type: image/jpeg'). However, I haven’t test the VaRest plug-in for this since now I use my own C++ module to handle the communications in my project, because it gives me mor freedom. In my last video I show how can you make a request using C++, but since you are not the first that ask me this I will try to catch up with the channel and make a video, showing how to make it using C++ and/or the plug-in VaRest. If you are interested on this please let me know! Happy coding.
th-cam.com/video/oCVwRftmKN8/w-d-xo.html
If i want to play audio from url using vaRest get request. how to do it?
In theory making a GET request to an API that return for you audio file, will allow you to do that, do you have any specific API that you are working on? So I can take a look :)
@@tipicott If I wanted to get the audio URL from the JSON data, also with a quick response, there is a concept called WebSocket. How can I achieve it?(It is from a company that I'm not allowed to share)
I understand, if you want to communicate using WebSocket, there is a native module within Unreal Engine for that.@@user-DEV_V I can make a quick video about it; for example, I use it within my own module to connect with the cloud using C++. Let me know if will be interesting for you to see this... docs.unrealengine.com/5.3/en-US/API/Runtime/WebSockets/ Here is the C++ class that can be used for it.
Would love to see how you would upload image file to API? I found next to nothing on this process!
I will check on it !
th-cam.com/video/oCVwRftmKN8/w-d-xo.html