skip to Main Content

Javascript – API rest call for Atlassian

I'm currently building a jql issue search via the rest api of Atlassian. Here is my code, or better the code provided by Atlassian: const fetch = require('node-fetch') fetch('https://mydomain.atlassian.net/rest/api/3/search?jql=jqlsearch', { method: 'GET', headers: { Authorization: `Basic ${Buffer.from( 'username', 'apikey' ).toString('base64')}`,…

VIEW QUESTION

Ubuntu – Serving Docker with NodeJs shows Error : connection refused, How can i resolve

So i am new to Docker and i am following this tutorial to a point . https://owen31302.gitbook.io/github-education/digital-ocean/deploy-node-js-on-digitalocean-droplet-using-docker to set up docker on digital ocean, i followed this https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 and it worked without trouble Now here is what, i installed git…

VIEW QUESTION

Javascript – I'm trying to get a string with puppeteer from a HTML list but there's one value I struggle to scrape. What am I doing wrong?

This is the HTML list I'm scraping: <button class="css-4od5c4 e1ttybed2"> <div class="css-1tkalz1 e3whs8q0"> <p class="css-iqfm9l enp2lf70">Sisjön</p> <p class="css-1cwtvfm enp2lf70">Askim</p> <div class="css-7omsg3 e3whs8q0"> <p class="css-1n26c6q enp2lf70">Välj butik</p> </div></div> <div class="css-177ui4i e3whs8q0"> <p class="css-iqfm9l enp2lf70">3 st</p></div> </button> <button class="css-4od5c4 e1ttybed2"> <div class="css-1tkalz1…

VIEW QUESTION

docker-compose: Unable to connect app service to mysql database, receive "Error: Access denied for user 'root'@'localhost' (using password: YES)

I am starting two docker containers through docker-compose. The contents of docker-compose.yml file: version: "3.7" services: app: image: my-app:latest ports: - 8000:8000 working_dir: /usr/app/MyApp environment: MYSQL_ROOT_PASSWORD: myawesomepassword MYSQL_DATABASE: myawesomedb MYSQL_USER: root MYSQL_PASSWORD: myawesomepassword mysql: image: mysql:5.6 volumes: - db-data:/var/lib/mysql environment:…

VIEW QUESTION
Back To Top
Search