Posts

Showing posts with the label bearer-token

Set bearer token in NodeJS

Image
Clash Royale CLAN TAG #URR8PPP Set bearer token in NodeJS I have a web backend using NodeJS. I want to retrieve data from another server using a link eg https://evoDMSTDev/api/api_event_all.php , and must use a bearer token eg 71D55F6907509 to access it. So, where I have to set the token so I can retrieve that data and display it on my web backend? https://evoDMSTDev/api/api_event_all.php 71D55F6907509 Thank you for your help :) Can you please elaborate what you are using? Is it Node.js or PHP? Are you trying to make API/AJAX call from client side or server to server API call? – Harshal Patil May 17 at 2:42 1 Answer 1 I create like this in node js, and then just call the obj in your .ejs obj .ejs request({ uri : 'https://evoDMSTDev/api/api_even...