Back end API Action not working

Hello,

I need some help. I have not much idea of web development but I do learn fast…well, this is what I am trying…

I have an API action call that works with the front API action.

image

It works to get a session token in a local server.

I am trying to do the same with a back end API action and I am doing something wrong:

image

But it is not working as if the action is not executed.

Any help? what I am missing?

Thanks in advance.

I would think that the serverconnect1 would load automatically without having to use the dynamic event load serverconnect1.load({})? It should just load because the “no auto load” isn’t checked right? Maybe just use that, maybe the two are fighting for some reason? Not sure just guessing.

Are you getting any errors in the browser? on the client side version you had “admin” in quotes and server side you didn’t? Didn’t know if that effected anything?

Also another tool I use a lot is Postman. its an API testing tool. a lot of times I will start there to make sure my api is formulated and is working as should, it can a return a code like login denied etc, that you wouldn’t necessarily get from the wappler or browser error section. You can download here:

https://www.getpostman.com/downloads/