Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios

import axios from "axios";

async function getData() {
	const resGet = await axios.get("http://localhost:8000/datas");
	const resData = resGet.data;
	console.log('data :>> ', resData);
	return resData
};
Source by axios-http.com #
 
PREVIOUS NEXT
Tagged: #axios
ADD COMMENT
Topic
Name
9+1 =