Console.log output from an API form

General question regarding console.log. I am attempting to display the return information in the console. How do I apply the console.log command on a .ejs page with an api form so that I can view the return response?

I need an detailed answer (which I am sorry for asking for) I am in territories now that are new and unfamiliar. Please note I am not using a wappler database, I am pinging our companies server and needing to view the response back. Currently I am storing it in a session manager object. Or at least I am hoping I am since I cannot see the response back but my backend team can see that the server is sending me the answer.

Thank you all for any help that can be given!

@Apple @Teodor

Hi.
You are calling the backend team’s API using API Action or Form component?
In either case, you should see an option for static event in properties. There, you can do something like:
console.log(dmx.app.data.apiaction1.data)

dmx.app.data can be used in browser console directly as well to access various Wappler components and view their data.

Hope this is what you were looking for.