freshdesk-request
v1.3.0
Published
freshdesk request method
Downloads
7
Readme
what is this?
Frshdesk request methods.
##Installation
Run npm i freshdesk-request
Use:
import requesAPI from freshdesk-request;
var config = {
method: 'using http methods(anyone)',
url: 'https://yourdomain.freshdesk.com/api/v2/tickets',
headers: {
'Authorization': 'Basic encode(your api)',
"Content-Type": 'application/json'
}
}
let response = await requestAPI(config);
##Parameters
The requestAPI accepts the http methods and url,headers and body.