Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios js

const axios = require('axios');
const url = 'https://www.google.com/'
await axios.get(url).then(html => {
		// handle success
		const page = html;
	}).catch(error => {
		// handle error
		console.log(error);
	});
Source by axios-http.com #
 
PREVIOUS NEXT
Tagged: #axios #js
ADD COMMENT
Topic
Name
6+8 =