Api call

good afternoon everybody
I made a client listing php project on wappler, then published this project on my production server “my domain”, how can I list these clients through a “GET” api call?, do you have any examples?

It doesn’t matter which target your project is published in. It works the same on all targets.

So I must be doing something wrong, because it only works if it’s this call…

without dmxConnect

Use the routing in Wappler to make a more friendly URL. It’s the lightning bolt in Routing to create the url for Server Connect scripts.

I am sorry but I don’t understand what are you trying to achieve? Of course if a script is called you need to point to its actual location…

this is already done…

Add a new route for the API. Give it any name to describe the route.
In the path section, enter api/clientes/lista
In the Url section, open the dmxConnect API folder and select the API to route to. Save your work and in the browser, you should be able to call yourdomainname/api/clientes/lista

Still not able to call the API? Try removing the forward slash “/” before the path

1 Like

worked perfectly

thank you very much

1 Like