Quick start

Here's an example of how you can make requests to https://api.coodo.xyz/ping using Node.js and Python, both with Bearer token authorization.

const axios = require('axios');

const apiUrl = 'https://api.coodo.xyz/ping';
const token = 'YOUR_BEARER_TOKEN';

const headers = {
  Authorization: `Bearer ${token}`
};

axios.get(apiUrl, { headers })
  .then(response => {
    console.log('Node.js Response:', response.data);
  })
  .catch(error => {
    console.error('Node.js Error:', error);
  });

API Flow Diagram

Last updated

Was this helpful?