add cart test

This commit is contained in:
Kerim 2023-06-21 00:36:55 +05:00
parent 23a05c5986
commit 0fb5bf2d16
1 changed files with 5 additions and 3 deletions

View File

@ -22,9 +22,11 @@
processData: false,
contentType: false,
type: 'POST',
beforeSend: function (xhr) {
xhr.setRequestHeader('Authorization', 'Bearer {{token}}');
xhr.setRequestHeader('Content-Type', 'application/json');
headers: {
'Authorization': 'Bearer {{token}}',
'Content-Type': 'application/json'
},
beforeSend: function () {
$('#loader_add').show();
},
success: function (data) {