This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var create_order = 'https://api.infusionsoft.com/crm/rest/v1/orders?access_token=rf9kuaudr8wcaymtk32tnwwr'; | |
//Authentication via .env file | |
//pify npm required | |
require('dotenv').config() | |
var pify = require('pify'); | |
var request = pify(require('request')); | |
var token = process.env.INFUSION_TOKEN; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THis is my fist test |