Replies: 0 comments 2 replies
-
I suggest you use Errsole in which you fix your code errors in minutes easily |
Beta Was this translation helpful? Give feedback.
0 replies
-
@weilies const body = JSON.stringify({
user_id: "...",
client_id: "...",
token_url: "https://api12preview.sapsf.eu:443/oauth/token",
private_key: "...",
}); to const querystring = require('querystring');
...
const body = querystring.stringify({
user_id: "...",
client_id: "...",
token_url: "https://api12preview.sapsf.eu:443/oauth/token",
private_key: "...",
}); or const FormData = require('form-data');
...
const body = new FormData();
form.append('user_id', '...');
form.append('client_id', '...');
... OOOOR you can concat the body string by yourself like follow format |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i had my code as below. i checked many time and ensure "client_id" exists (for security reason, i replace them with "..." in sample code below
when i run the program it returns
i am new to this package. kindly comment and thanks
Beta Was this translation helpful? Give feedback.
All reactions