Api actions

How can we call an API when we click a button

Please explain a little more detailed what are you trying to achieve.

Hi guys, i also facing difficulty to invoke rest API from button. Can someone guide how to do, really appreciate it.

Tq

Ho to get return result and binding back to text element after using method post api action?