3 votes
Accepted

Why doesn't my XMLHttpRequest call work in Excel?

The response from Stack Exchange is always compressed, as indicated by Glorfindel. Note that browsers offer the decompression to you by default but the MSXML2.serverXMLHTTP COM/OLE component pre-dates ...
  • 1,810
2 votes
Accepted

Getting 405 when trying to post a comment

The problem was the fact that I was using the http module, rather than https. Since its protocol is https, I have to use the https module const https = require("https") const data = `site=...
2 votes
Accepted

Is it possible to get the response from a form POST?

The problem you are experiencing is a standardized default behavior of <form> elements. When a form is submitted, under normal circumstances, navigation happens as one of the last steps of ...
2 votes

Stack Exchange API in Chrome extension

I've built an extension that uses StackExchange API using OAuth2 flow. I did not use the JS SDK and did it manually instead. Here is how I did it: function auth(sendResponse) { const scope = '...
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible