Change to behaviour between GET and POST Contacts V1 endpoints
Currently if you request the Get a contact by email address endpoint and your request includes invalid characters like this example: (notice the invalid characters in the email address <>)
A 200 server code is returned with the contact details in the response and the invalid characters get removed from the email address.
If you then create a contact using the Create a new contact endpoint and include invalid characters (<>) in the email address:
A 400 server code is returned along with this error message:
404 OBJECT_NOT_FOUND "The contact <email@example.com> does not exist"
The GET request normalizes the email address and removes the invalid characters, but the POST request does not. Today we will be changing this behaviour and normalizing email addresses for the Create a new contact endpoint (i.e removing invalid characters) so the behaviour is consistent with the Get a contact by email address endpoint.
When is this happening?
The change is effective from today, October 29th, 2021.
If you have any questions or comments, please join the conversation in the developer community forum.