Skip to content

Commit 711c34b

Browse files
authored
Attempt post instead of get for endpoint (microsoft#151374)
1 parent 41317f9 commit 711c34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/telemetry/browser/telemetryService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class WebAppInsightsAppender implements ITelemetryAppender {
4949

5050
// If we cannot access the endpoint this most likely means it's being blocked
5151
// and we should not attempt to send any telemetry.
52-
fetch(endpointUrl).catch(() => (this._aiClient = undefined));
52+
fetch(endpointUrl, { method: 'POST' }).catch(() => (this._aiClient = undefined));
5353
}).catch(err => {
5454
console.error(err);
5555
});

0 commit comments

Comments
 (0)