1

I'm trying to inject a contact in Journey Builder using AMPScript and I'm using HttpPost2 method, but I'm finding that this function doesn't allow to add Spanish characters like 'ñ' or 'á'. I've tried to add encoding parameters but it doesn't work. If check it out using PostMan and it works well. Any help would be really appreciated.

PS: This is the payload is sent by HTTPPost2 function:

{
    "ContactKey": "[email protected]",
    "EventDefinitionKey": "APIEvent-23c9a842-1214-c2cc-8a3c-34b9c4ab7a7c",
    "Data": {
        "Nombre": "Ángel",
        "Apellidos": "Muñoz",
        "eMail": "[email protected]",
        "Movil": "34673641929"
    }
}

1 Answer 1

2

Fixed!

When using HTTPPost2 you should replace special characters for Unicode code like \u00e1 = á

Regards

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .