-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spike] Test node/electron with the HTTP-API (Windows) #2618
Comments
Using named pipes with the With the const got = require('got');
const options = {
url: `https://unix:https://?/pipe/crc-http:/api/status`,
method: 'GET'
};
function callback(error, response, body) {
if (!error && response.statusCode == 200) {
const status = JSON.parse(body);
console.log(status)
}
else {
console.log(response.statusCode)
console.log(error)
}
}
got(options, callback);
|
Concluded; when named pipes are used in combination with HTTP and Electron, it would be suggested to use |
From the Electron support has been removed Which means the |
Investigate how the HTTP API can be used with a nodejs or electron application
The text was updated successfully, but these errors were encountered: