Sending RapidSpike Connect Anything (RCA) Data

We accept GET and POST data to the RapidSpike Connect Anything (RCA) monitor. Once you have set-up your monitor you will have a unique ID. This is used to identify your monitor.

Sending GET Data

To send data using a GET request, you just need to call the following URL, using your unique ID:

https://results.rapidspike.com/rca/?id=[ID]

For example, if your ID is 3x4mp13-3x4mp13:

https://results.rapidspike.com/rca/?id=3x4mp13-3x4mp13

To pass any monitored values associated with the RCA monitor, just pass them in the query string. The key here must match the key you added when setting up the monitor (please note we currently only except numeric values for monitored values):

https://results.rapidspike.com/rca/?id=3x4mp13-3x4mp13&data=99

Sending POST Data

To send data using a POST request, send to:

https://results.rapidspike.com/rca/

With the ID in the raw body in JSON format:

{
    "id":"3x4mp13-3x4mp13"
}

To pass any monitored values associated with the RCA monitor, add them to the JSON. The key here must match the key you added when setting up the monitor (please note we currently only except numeric values for monitored values):

{
    "id":"3x4mp13-3x4mp13",
    "data":99
}

Response

If we successfully receive the data you will get the following response, confirming the data and ID we received:

{
    "message": "Data received",
    "error_code": null,
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "keys_received": {
            "data": 99,
        },
        "id":"3x4mp13-3x4mp13"
    }
}

 

Related Articles