开发者

How to create a ticket with attachment in RT using REST

Does anyone know how to create a ticket with attachment in RT (Request Tracker) using 开发者_C百科REST service with PHP script?


remove "attachment_1: /tmp/img2.PNG" add a POST a variable using addPostFile() with name "attachment_1" that contains the raw attachment.


If you are using HTTP_Request, the function is addFile() instead of addPostFile(). -It worked for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜