mirror of
https://github.com/Xevion/r2park.git
synced 2025-12-06 03:16:05 -06:00
Fix incorrect method for register vehicle (POST)
This commit is contained in:
2
api.go
2
api.go
@@ -277,7 +277,7 @@ func RegisterVehicle(formParams map[string]string, propertyId uint, residentProf
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Build the request
|
// 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)
|
SetTypicalHeaders(req, nil, nil, false)
|
||||||
|
|
||||||
// Send the request
|
// Send the request
|
||||||
|
|||||||
Reference in New Issue
Block a user