@apite/magento2-utility
Version:
Shopgate WebCheckout utility for Magento 2 extensions
44 lines (43 loc) • 1 kB
JSON
{
"url": "/guest-carts/:cartId/items/999",
"method": "delete",
"headers": {
"common": {
"Accept": "application/json, text/plain, */*",
"shopgate-check": "true",
"Cookie": "XDEBUG_SESSION=1;"
},
"delete": {},
"get": {},
"head": {},
"post": {
"Content-Type": "application/x-www-form-urlencoded"
},
"put": {
"Content-Type": "application/x-www-form-urlencoded"
},
"patch": {
"Content-Type": "application/x-www-form-urlencoded"
},
"Accept": "application/json",
"Content-Type": "application/json"
},
"baseURL": "http://192.168.1.33/rest/default/V1",
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"withCredentials": true,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
}
}