UNPKG

@apite/magento2-utility

Version:

Shopgate WebCheckout utility for Magento 2 extensions

45 lines (44 loc) 1.16 kB
{ "url": "/carts/mine", "method": "put", "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", "Authorization": "Bearer eyJraWQiOiIxIiwiYWxnIjoiSFMyNTYifQ.eyJ1aWQiOjEsInV0eXBpZCI6MywiaWF0IjoxNzI2MDUxNDA4LCJleHAiOjE3NTc1ODc0MDh9.f7gleO3BqhVrNJiXKmpHG2l357xFkudC1dTzyQ0QyuQ" }, "baseURL": "http://192.168.2.165/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 } }