From 0235473616bfef3dd2b55e211bc4e32afc83dcbf Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 28 Feb 2024 04:42:31 -0600 Subject: [PATCH] Fix incorrect method for register vehicle (POST) --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index e9a316f..67c3cf4 100644 --- a/api.go +++ b/api.go @@ -277,7 +277,7 @@ func RegisterVehicle(formParams map[string]string, propertyId uint, residentProf } // Build the request - req := BuildRequestWithBody("GET", "/register-vehicle-vip-process", nil, strings.NewReader(body.Encode())) + req := BuildRequestWithBody("POST", "/register-vehicle-vip-process", nil, strings.NewReader(body.Encode())) SetTypicalHeaders(req, nil, nil, false) // Send the request