add cart test

This commit is contained in:
Kerim 2023-06-21 02:46:10 +05:00
parent 0c864febe0
commit 15bb05694f
1 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,10 @@ function onStart(){
async: true,
url: 'https://nurgul.com.tm/app/api/customer/cart/add/' + String(prodId),
type: 'POST',
headers: { Authorization: 'Bearer {{nurgulToken}}' },
headers: {
Authorization: 'Bearer {{nurgulToken}}',
Accept: 'application/json'
},
processData: false,
contentType: false,
data: JSON.stringify(product),