action should be a url and method should be one of GET or POST
GET
POST
$get and $post are two Alpinejs Magics which you can use to do fetch requests.
$get
$post