De API weet niet wie er iets opvraagt. Unity, Unreal, een website of Bruno: zolang het adres en de JSON kloppen, maakt het niet uit.
In Unreal doe je dit met de plugin VaRest. Daarmee roep je vanuit Blueprint elke API aan, dus ook die van jou op http://localhost:5050.
Tutorial:
De plugin: VaRest op Fab
Zonder plugin kan ook, want Unreal heeft een HTTP-module ingebouwd:
Tutorial: HTTP GET JSON request using REST API, stap voor stap met broncode op GitHub
Documentatie: De HTTP-module
Wil je het daarna als Blueprint-node kunnen aanroepen, kijk dan bij Async Blueprint Nodes van Tom Looman, die bij Epic werkte.