Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Can anyone tell me how to show and view browser from the Remote NodeJS Lib Thanks
Oh I see. I have been updating my script with the new key every 3 months. will try merging in future. Thanks
@musterman In your screenshot, you are trying to send data not as json (although you specify the data type as json)
@UserTrue said in Node JS with google trends API:
@hippyzipp9 const mysql = require('mysql2'); // create the connection to database const connection = mysql.createConnection({ host: 'localhost', user: 'root', database: 'db', password: '' }); await(new Promise((resolve, reject) => { /*Place your code here and call resolve to proceed*/ connection.connect(function (err) { if (err) { reject('error: ' + err.message); } console.log('Connected to the MySQL server.'); resolve() }); }));
@hippyzipp9
Thanks, your solution worked.
@zw Use http client module to achieve this. 0_1484407830094_HttpClientModule.png
Some docs: http://wiki.bablosoft.com/doku.php#http_client_faq
Example posting tweet using api: twitterapi.xml