mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-22 07:20:23 +00:00
Fix #14411 by setting JSON Content-Type for Gist API request
This commit is contained in:
parent
31f7cb152e
commit
71c2c372f6
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
|
|||
$.ajax({
|
||||
url: 'https://api.github.com/gists',
|
||||
type: 'POST',
|
||||
contentType: 'application/json; charset=UTF-8',
|
||||
dataType: 'json',
|
||||
data: JSON.stringify(data)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue