Seems like a perfect solution to how I can setup an API on a website to retrieve, post, and browse user generated content runtime in a dynamic way. Man I wish I realized how powerful unreal engine was 5 years ago. So much stuff can be done without needing straight up code. The amount of innovative content I can create and iterate on is just plain awesome.
It seems that in 5.4 they have changed the underlying apis that VARest uses, try search to see what the updated node could be. Seems that it’s only supported in 5x-5.3
Hiho a really nice video, thanks a lot! I only have a few questions: 1. U hardcoded your username and password in the "make literal string", so u can nline login with the correct account but noone else could login ^^ 2. I want so send the login Data to my backend to verify the player at the backend and send the token back if the varification is correct... but i dient get any data with that post... 3. how can I send data in the req.body, its alwais empty...
2:07 Thanks a lot man! Your troublshooting helped me a lot! I had deleted the 'EventBeginPlay' and was trying to figure out why it wasnt working! Now my Text keep dissapearing soon as I press simulate. I wonder why.
Hi June, you will need to load an image at runtime from a URL. You can use this VaRest plugin to get the url date from the json then follow something like this to load the image dev.epicgames.com/community/learning/tutorials/rZwp/unreal-engine-import-images-during-runtime Hope it helps, if not send another comment
Hi, so the Developer for VaRest states on the marketplace support for 5 and 5.1 so it should work. I didn’t develop the plugin but only wanted to share what I have learnt with everyone 👍
hi. I can't get a session token from a variable. The output to the screen returns an empty string. Please tell me : Json body { "data": { "account_id": 2, "token": "6546564", } }
Sorry for the delay, so I had similar issues and you will see sometimes the tokens are not string but int so instead of specifying a string field try use int or float as the type in VaRest. I found that I had that issue when I tried to get the age from the dataset. Ping back if it works so others can solve this too if they face the issue
Seems like a perfect solution to how I can setup an API on a website to retrieve, post, and browse user generated content runtime in a dynamic way.
Man I wish I realized how powerful unreal engine was 5 years ago. So much stuff can be done without needing straight up code. The amount of innovative content I can create and iterate on is just plain awesome.
you need a password refreshing system in production.
Perfect timing! Just what I was looking for. Thanks for sharing!
Would it be possible for you to make a complete tutorial using VaRest for a digital twin solution in Unreal Engine with both GET and POST requests?
Thanks! Just what I needed. Works in Unreal 5.4.1.
Glad it helped you out 👍
Thank you!
It's Best tutorial!
When using the GetResponseContentAsString node in 5.4 I always receive a notice that it is depricated.
It seems that in 5.4 they have changed the underlying apis that VARest uses, try search to see what the updated node could be. Seems that it’s only supported in 5x-5.3
Hiho a really nice video, thanks a lot!
I only have a few questions:
1. U hardcoded your username and password in the "make literal string", so u can nline login with the correct account but noone else could login ^^
2. I want so send the login Data to my backend to verify the player at the backend and send the token back if the varification is correct... but i dient get any data with that post...
3. how can I send data in the req.body, its alwais empty...
2:07 Thanks a lot man! Your troublshooting helped me a lot! I had deleted the 'EventBeginPlay' and was trying to figure out why it wasnt working!
Now my Text keep dissapearing soon as I press simulate. I wonder why.
Thank you soo much!! This is super helpful
Could you point me in a general direction of how would I go around setting up the other part of the system?
Hi, thanks for such an explantory video! I was wondering how to access the image value inside the json and apply it as a material inside Unreal?
Hi June, you will need to load an image at runtime from a URL. You can use this VaRest plugin to get the url date from the json then follow something like this to load the image dev.epicgames.com/community/learning/tutorials/rZwp/unreal-engine-import-images-during-runtime
Hope it helps, if not send another comment
Can you make a video with OAUTH2 authentication? I am in struggle with it because I need to login to create a token...Thanks.
4:38 i can't find DeCode Json Object
ue4.25
How can i post?
Hi, it should be available when you drag off the VARest Subsystem node
@@dariomac and I think 4:08 CallURL contentType will be json
Te mamaste loco, pinche semana 5 está bien ogt. Thanks
Hey, can i update the json file on the web through varest? I want to change values in the json file on the web from blueprints
I’m sure you can you just need to have a Post method that you handle on the backend to update the data. Put the update in the body then call the api
Does this work for UE5.1 or 5.0?
Hi, so the Developer for VaRest states on the marketplace support for 5 and 5.1 so it should work. I didn’t develop the plugin but only wanted to share what I have learnt with everyone 👍
Will this work with discord webhook?
hi. I can't get a session token from a variable. The output to the screen returns an empty string. Please tell me : Json body
{
"data": {
"account_id": 2,
"token": "6546564",
}
}
I have the same problem
Sorry for the delay, so I had similar issues and you will see sometimes the tokens are not string but int so instead of specifying a string field try use int or float as the type in VaRest. I found that I had that issue when I tried to get the age from the dataset. Ping back if it works so others can solve this too if they face the issue
4:38 i can't find Decode Json Object
ue4.25
How can i post?