I'm linking a ContentNote to a Lead object, but the notes that i've been making are showing symbols like "��br��z{^�Ʃx{f" instead of what is provided in the post call to the api.
Any ideas on why this is happening?
Looking at the SOAP API documentation for ContentNote (yeah, I know you're using the REST API), we see that the Content
field stores (and thus expects) a base64-encoded string.
Trying to put a normal UTF-8 string into this field will result in Salesforce displaying a sequence of strange (and possibly unprintable) characters.
Base64 encoding your content before you post it to the API should resolve the issue.
{ "Title":"titulo", "Content":"contenido" }