This is for both creating a attachment on an existing card as well as with creating a new card.
However, if the attachment is a TXT file, the attachment is created so the call is being made properly. I’m guessing that a PDF has to be encoded but there is nothing in the docs that says that.
What would be the correct way to attach a PDF via the API?
I’m making the call in PowerShell, but I can also use cURL.
Thank you in advance.