I hereby claim:
- I am srichakradhar on github.
- I am srichakradhar (https://keybase.io/srichakradhar) on keybase.
- I have a public key whose fingerprint is E530 07C7 8598 7E19 0818 75B8 426B BFD3 563A 0B67
To claim this, I am signing this object:
function adaptiveCardSubmitMiddleware() { | |
return { | |
botbuilder: (session, next) => { | |
console.log(session.message); | |
// I want them to be able to do this, for now ask they press the button | |
if(session.message && session.message.text == 'submit'){ | |
session.send("Please use the submit button above"); | |
return; |
require('deasync').loopWhile(function(){return !done;}); |
axios.post('https://dev32043.service-now.com/api/now/table/incident', | |
requestBody, | |
{ | |
headers: { | |
'Content-Type': 'application/json', | |
'Accept': 'application/json', | |
'Authorization': 'Basic ' + Buffer.from('admin'+':'+'ynZVT7Uwa5gW').toString('base64'), | |
// 'Authorization': 'Basic '+btoa('admin'+':'+'admin'), | |
} | |
}) |
{ Error: write EPROTO 140611379001216:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:797: | |
at _errnoException (util.js:1024:11) | |
at WriteWrap.afterWrite [as oncomplete] (net.js:867:14) | |
code: 'EPROTO', | |
errno: 'EPROTO', | |
syscall: 'write', | |
config: | |
{ adapter: [Function: httpAdapter], | |
transformRequest: { '0': [Function: transformRequest] }, |
I hereby claim:
To claim this, I am signing this object: