Happyfox API - Create ticket with attachment using PHP
Happyfox is a ticketing service provider. Recently I’m dealing with it’s API and took me quite some time to figure out how to create a ticket with attachment. You can see the official documentation here.
1. Create an account and Generate API key
You can sign up an account
Now you can create api key
Enter Identification Name and save it
2. Get your username
& password
As the requirement mention that HTTP Basic Authentication is required, thus you need to have a username
& password
Note: you must move your mouse over only you can see the link see auth code
The API key served as username
and Auth code served as password
.
3. Make a POST request thru PHP cURL
1 |
|
References: