How do I show result of an API call on the same Form?

How do I show result of an API call on the same Form?

Hi,

I am able to use getURL deluge task to call a 3rd party API to do lookup from a Page and dispaly result as HTML. However, I wanted to know if i can use the deluge task getURL from a Form and display result in a table after the successfully response from 3rd party API call?
Please advise if this is achievable.