nuxt / http

Universal HTTP Module for Nuxt.js
https://http.nuxtjs.org
MIT License
229 stars 51 forks source link

Auth header #197

Open gfrancis86 opened 2 years ago

gfrancis86 commented 2 years ago

I need to make an api call but I need to add user/password to the api I'm able to do it with axios just by sending the config in the get method, this.$axios.$get( 'apiurl', {auth: {user: '', password: ''}} )

how do one do it using this?