开发者

How to create a ticket with attachment in RT using REST

开发者 https://www.devze.com 2023-02-13 13:18 出处:网络
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\"

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

精彩评论

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