Right now, when you go to copilot.github.com you're greeted with this example: async function isPositive(text) { const response = await fetch(`http://text-processing.com/api/sentiment/`, { method: 'POST', body: `text=${text}`, headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, }); const json = await response.json(); return json.label === 'pos'; } This is bad and might result in sec
![Encoding data for POST requests](https://cdn-ak-scissors.b.st-hatena.com/image/square/335df62831dd7e9dd4df4887dd30dcfd992bfb27/height=288;version=1;width=512/https%3A%2F%2Fjakearchibald.com%2Fc%2Fimg-2f386163.png)