Available countries
A list of all publicly available methods for interacting with the API.
GET
Get cart available countries -/cart/available-countries
Query method
GEThttp://apilocal.stableproxy.com/v2/cart/available-countries
Query parameters
Identifier | Regulations | Example |
---|---|---|
serviceNot necessarily | nullablestringilluminate\_validation\_rules\_in | 49 |
Code examples
JavaScript
1async function getCartAvailableCountries() {
2 const baseUrl = 'http://apilocal.stableproxy.com/v2';
3 const req = await fetch(baseUrl + '/cart/available-countries?' + Object.entries({
4 "service": 49
5 }).map(([key, value]) => key + "=" + value).join('&'), {
6 method: 'GET',
7 headers: {
8 'Content-Type': 'application/json'
9 }
10 }
11 );
12
13 const res = await req.json();
14}