Discussions
API help: Create a new Attachment
about 6 years ago by Naveen Sharma
Hello Support Team,
I am using ServiceM8's api for our add-on. I want to upload a attachment to existing job and I am using below api for the same:
--request POST
--url https://api.servicem8.com/api_1.0/attachment.json
but I am not sure in which param I should send attachment data also wanted to know will it accept multipart data or base64 string for data.
Can you please help me with these two queries? It would be best if you can provide any sample request in curl?