Thanks for the fast reply! I did what you've suggested, this gives:
curl --request POST \
--url https://public-api.sandbox.bunq.com/v1/installation \
--header 'Cache-Control: no-cache' \
--header 'User-Agent: bunq-TestServer/1.00 sandbox/0.17b3' \
--header 'X-Bunq-Client-Request-Id: a4f0de' \
--header 'X-Bunq-Geolocation: 0 0 0 0 000' \
--header 'X-Bunq-Language: nl_NL' \
--header 'X-Bunq-Region: nl_NL' \
--header 'cache-control: no-cache' \
--data '-----BEGIN PUBLIC KEY-----\nMIIBITANB.......3PoG3z\nAgMBAAE=\n-----END PUBLIC KEY-----'
This returns:
{
"Error": [
{
"error_description": "Body is not a valid array.",
"error_description_translated": "Body is geen geldige reeks."
}
]
}