Config
Список всех доступных методов для взаимодействия с API.
GET
Get cart config -/cart/config
Способ запроса
GEThttps://api.stableproxy.com/v2/cart/config
Примеры кода
JavaScript
async function getCartConfig() {
const baseUrl = 'https://api.stableproxy.com/v2';
const req = await fetch(baseUrl + '/cart/config', {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
}
);
const res = await req.json();
}