How to send get and post request in API using Node JS & using Postman

We can write get and post method in API using node js. We rae using Postman for testing here. We can write API’s in node JS for send and recieving the requests. By using this code we can get the values in postman as well as in server. First we need to install the Express… Continue reading How to send get and post request in API using Node JS & using Postman

Automating NetSuite Sales Order Record Creation with Postman

Understanding Netsuite API Netsuite provides a robust SuiteTalk API that allows developers to interact with Netsuite functionalities programmatically. To create a Sales Order record, you’ll need to make a POST request to the appropriate endpoint with the necessary data in the request body. This is where Postman comes into play. Setting Up Postman Postman: https://www.postman.com/… Continue reading Automating NetSuite Sales Order Record Creation with Postman

Restrict the items based on subsidiary for all the global searches including plp page without getting issue in pagination and total items.

using this Methode we can restrict the items for the Seach using Api based on subsider in the profile model we can get the API using that Api we can restrict the items on the search and PLP if we are using the Custome field then we also we need to add that fields in… Continue reading Restrict the items based on subsidiary for all the global searches including plp page without getting issue in pagination and total items.

Postman For API Testing

Postman is a widely used tool for testing APIs, allowing developers to easily send requests and receive responses from APIs. It provides a user-friendly interface for making HTTP requests, which simplifies the process of testing APIs and reduces the time needed to fix errors. Postman supports a variety of HTTP methods, including GET, POST, PUT,… Continue reading Postman For API Testing

Converting credentials to base 64 formats for the API call (Access token retrieval)

The function converts the string combining the username and password to base 64 format and apply in the API call for generating the access token. Sample API request code snippet let accessTokenresponse = https.post({ url: AUTH_URL, headers: { ‘Content-Type’: ‘application/x-www-form-urlencoded’, ‘Authorization’: ‘Basic ‘ + getBasicAuthorisation(credentialFetch), }, body: { ‘grant_type’: ‘client_credentials’, } }); /** * @description… Continue reading Converting credentials to base 64 formats for the API call (Access token retrieval)