[rt-users] 4.0.5 REST - adding an attachment - php

Thomas Sibley trs at bestpractical.com
Wed Mar 28 09:38:07 EDT 2012


On 03/28/2012 02:07 AM, Alex Ardalich wrote:
> Adding an attachment has me baffled. I understand I cannot do it at
> ticket creation, need to do it as adding a comment.
> I get as far as, Bad Request # No attachment for...
> 
> If anyone has an example of how to do it I would be extremely grateful.

http://wiki.bestpractical.com/view/REST#Ticket_History_Comment

Without showing us what you're trying, we can do nothing but guess.  My
guess is that you're not POSTing the attachment_1 field.



More information about the rt-users mailing list