8000 Change token request url (#27) · arduino/iot-client-js@c07224e · GitHub
[go: up one dir, main page]

Skip to content

Commit c07224e

Browse files
author
Fabrizio Mirabito
authored
Change token request url (#27)
1 parent c1c015e commit c07224e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var rp = require('request-promise');
44
async function getToken() {
55
var options = {
66
method: 'POST',
7-
url: 'https://login.arduino.cc/oauth/token',
7+
url: 'https://api2.arduino.cc/iot/v1/clients/token',
88
headers: { 'content-type': 'application/x-www-form-urlencoded' },
99
json: true,
1010
form: {

0 commit comments

Comments
 (0)
0