Category : axios

const axios = require("axios"); const Parser = require("./utils/parser"); const WebStore = require("./models/webstore"); const mongoose = require("mongoose"); require("./db/connection"); require("dotenv").config(); const url = ""; const app_secret = process.env.APP_SECRET; const buff = new Buffer(app_secret); const base64 = buff.toString("base64"); axios .get(url, { headers: { Accept: "application/json", Authorization: `Basic ${base64}`, }, params: { from_date: "2020-02-19", to_date: "2021-02-21", }, }) .then(async ..

Read more

So hey i am using a unofficial api for https://carbon.now.sh which is https://github.com/cyberboysumanjay/Carbon-API now i want new liness to be printed in the output by the api and here is my code https://sourceb.in/lcjTNxO9b6 and here is the output https://imgur.com/a/fRMWCc0 as you can see there isnt a new line This is what the official site sends ..

Read more