Skip to content

Instantly share code, notes, and snippets.

View MauricioSilv's full-sized avatar
🏠
Working from home

Maurício Silva MauricioSilv

🏠
Working from home
View GitHub Profile
const axios = require('axios');
class getdataController{
async index(req, res){
try {
const response = await axios.get('https://api.codenation.dev/v1/challenge/dev-ps/generate-data?token=TOKEN');
const { cifrado } = response.data;
var new_message = "";
for(const letra of cifrado){