Skip to content
Snippets Groups Projects

Added API-Services

Merged Kristian Valset Aars requested to merge APIEvents into master
5 files
+ 102
26
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 14
0
import axios from 'axios'
export default {
getApiClient (token) {
return axios.create({
baseURL: 'http://localhost:8085/api',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
Authorization : 'bearer '+token
}
})
}
}
\ No newline at end of file
Loading