Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Create tickets using rest api in python

Hi there, i'm in trouble with python. I wrote a script that creates a json (properly formatted) with the tickets i need to post on osticket, and by now i'm able to post them launching a php script using subprocess. Now i want to use python module requests, but i can't understand how to use it for os ticket. I mean, once i have the key and the json, how i use request?

basicly it should seems something like that

r ="", data=create_json_ticket(json))

but i don't know how to pass the key in the right way


Sign In or Register to comment.