mirror of
https://github.com/bugsink/bugsink.git
synced 2026-05-02 04:49:48 -05:00
757ee31bed
Tested in-browser with:
```
function main() {
$.ajax({
type: "POST",
url: "http://bugsink:8000/api/1/store/",
headers: {
"Content-Type": "application/json",
"X-Sentry-Auth": "Sentry sentry_key=a2df4cd647dc4b7a8a81b78a3601eba1, sentry_version=7, sentry_client=bugsink/0.0.1",
},
data: JSON.stringify({foo: "Bar"}),
success: function(data) {
console.log(data);
}
});
}
```