API usage examples
Examples
JavaScript
import axios from 'axios'
axios.get('http://localhost:3000/api/v1/posts')
.then(response => {
console.log(response)
})
.catch(err => {
console.log('ERROR: Could not get all posts from Hugin Cache.')
})Python
Last updated