Post Request Creation

  let request = https.post({

                            url: `${SALES_FORCE_API[‘environment’][netsuiteEnvironment][‘endPoind’]}`,

                            headers: {

                                ‘Content-Type’: ‘application/json’,

                                ‘Authorization’: `Bearer ${accessToken}`

                            },

                            body: JSON.stringify(payLoadJson)

                        });

Leave a comment

Your email address will not be published. Required fields are marked *