We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i need help, how send form input value throw this freshdesk api.. what i need to change, to insert input id in ticket_data as value.. please help
<input id="lc-calendar_till" type="hidden" placeholder="Date from">
<script> $(document).ready(function(){ $("button").click( // click to send function() { var yourdomain = 'domainxxxx'; var api_key = 'apikeyherexxx'; ticket_data = '{ "description": "here is description", "subject": "Subject text", "email": "[email protected]", "priority": 1, "status": 2 }'; $.ajax( { url: "https://"+yourdomain+".freshdesk.com/api/v2/tickets", type: 'POST', contentType: "application/json; charset=utf-8", dataType: "json", headers: { "Authorization": "Basic " + btoa(api_key + ":x") }, data: ticket_data, } ); } ); }); </script>
The text was updated successfully, but these errors were encountered:
any help?
Sorry, something went wrong.
No branches or pull requests
i need help, how send form input value throw this freshdesk api.. what i need to change, to insert input id in ticket_data as value.. please help
<input id="lc-calendar_till" type="hidden" placeholder="Date from">
The text was updated successfully, but these errors were encountered: