Not able to Add Callback

Hello Nuki,
I am trying to register a callback to Nuki bridge using the following command

curl --location --request POST 'http://someIp:8080/callback/add?token=123ASD&url=http://someUrl

It returns HTTP 405 Method not allowed

Kindly help in this matter

Best Regards,
Ahmad

Bridge Info

{
    "bridgeType": 1,
    "ids": {
        "hardwareId": someId,
        "serverId": someId
    },
    "versions": {
        "firmwareVersion": "2.10.4",
        "wifiFirmwareVersion": "2.2.0"
    },
    "uptime": 410,
    "currentTime": "2021-10-19T15:40:58+00:00",
    "wlanConnected": true,
    "serverConnected": true,
    "scanResults": [
        {
            "deviceType": 0,
            "nukiId": someId,
            "name": "someName",
            "rssi": -56,
            "paired": true
        }
    ]
}

Hi Ahmad,

the /callback/add request should be a GET instead of a POST request.

Best,
Daniel

Thanks. I will try that out.