⚡
Fluxpoint API
WebsiteDiscord Server
  • â„šī¸Information
  • 📋Changelogs
  • Reviews
  • đŸ“ĻLibrary
    • #ī¸âƒŖC#
    • ☕JavaScript
    • đŸ‘ģBotGhost
    • 💡Http Example
  • ⚡Client
    • 🧰Lib Developers
    • đŸ“ĻResponses
    • âš ī¸Error Codes
  • 🔗Endpoints
    • Test
    • Misc
    • Utility
    • Color
    • Convert
    • List
    • Image Gen
      • Templates
      • Custom Image
    • Minecraft
    • Sfw Anime Images
    • Sfw Anime Gifs
    • Meme Images
    • Animal Images
    • Nsfw
      • Nsfw Anime Images
      • Nsfw Anime Gifs
Powered by GitBook
On this page
  1. Library

Http Example

Example API request with javascript

const axios = require('axios').default;

var options =  {
headers: {
        'Authorization': 'TOKEN'
    }
}

axios.get('https://api.fluxpoint.dev', options)
  .then(function (response) {
    console.log('Success');
    var data = JSON.parse(response);
    console.log(data.message);
  })
  .catch(function (error) {
    console.log(error);
  });
PreviousBotGhostNextLib Developers

Last updated 2 years ago

đŸ“Ļ
💡