Is there any way i can create a button in plugin configuration and send a request to a controller? Basically i want to test if API credentials are valid or not. But i need this button to respond or make a request to controller. But this button should be in plugin configurations.
There’s an article covering exactly that topic .
It adds a button to the plugin configuration which sends an ajax request to test the api credentials. Check it out: Testing communication with external apis