Discussions
Bad request. Invalid RSA key
sto povando ad ottenere la chiave di staging
curl --request POST
--url https://staging.authservices.satispay.com/g_business/v1/authentication_keys
--header 'content-type: application/json'
--data '{
"public_key": "-----BEGIN PUBLIC KEY-----MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0XSx1WLvmeu3kkeceuGgSzlj8BJ6VyKZLXz6Cns2fPy2NK8M3CQqbC8mmKjrnHW1o84xmu9YwxGYaU3nL4IVYnxZd70HBBiP6fBtcx0KDyn/Oy83lOF7yuelZkLivb7sI2kZKkevefCuQSovptQFO8iIhhaSxPYDC3GoWNzx6AxfDdF8++T6xEUeTY73Mn3kzagiQOmYyFF/cWygGrZSll39j2gmJkgeUm9mR19aRf+qp2DrQuyAF9fyjdB/ffucNlfQR0uSWVR72wmAEnj6ryCP1QVpzOD00ymiYVrxG3zgHBA4UbkLKNxCqdnUow9DrvBvBWslfltum3ohN8xcJ+CbwqJSOK8o6WiYU/oSReJf8HR0TLytwm1XPCveBqeTtI1hRmjmhNsCc+xvBcKG3Luolce9sJfR90BEEEig/M9xkxw2uJ14eKuqS642FqcyEiPzkJEzDL2L3EQJTB/suzSM2piS+WU/U9hkJvHug6/7kGFVtzAZ0pYrcMHpI5+nmiQP728Lr58OS28ijpmDqImayPBDj19hWuSjHbccsCWwZo8ANUIPQa3w1Vyll+6UtVkcPYDfz9pOmMzBtdSXMs9MJQXayqjfXaBe09mthT15y2hTsH1r9b4YRNbVUqlgIHqcKsUotTAx1m/+Ex8aQMRVUA1LAQO3BYSE96/jtisCAwEAAQ==-----END PUBLIC KEY-----",
"token": "RG3776"
}'
ma non va, la risposta è sempre la stessa
{
"code": 132,
"message": "Bad request. Invalid RSA key",
"wlt": "kLRzg08h"
}