Last updated 1 month ago
Success
const response = await fetch('https://api.sandbox.younium.com/Countries', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "twoAlphaCode": "text", "threeAlphaCode": "text", "active": false } ]
const response = await fetch('https://api.sandbox.younium.com/Countries/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "twoAlphaCode": "text", "threeAlphaCode": "text", "active": false }