Custom button and homekit

i would like to know if it’s to create a custom button and expose te button in homekit
when i press this custom button execute a GET to costum HTTP address or launch a script

i’m using a latest version of hass.io

Thanks