Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use axios get

const req = async () => {
  const response = await axios.get('https://dog.ceo/api/breeds/list/all')
  console.log(response)
}
req() // Calling this will make a get request and log the response.
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #axios
ADD COMMENT
Topic
Name
3+1 =