Moritz Walter
Moritz Walter
NNuxt
Created by Moritz Walter on 11/13/2024 in #❓・help
html from api
Hello, I need to load an HTML from the API and display it directly. I now have a kind of solution, but it does not work properly because this API does not require authentication. What is the best way to do this?
'/my/ticket/**': {
appMiddleware: 'auth',
proxy: {
to: process.env.API_URL + '/api/tickets/**',
headers: {
'Authorization': 'Bearer X'
}
}
},
'/my/ticket/**': {
appMiddleware: 'auth',
proxy: {
to: process.env.API_URL + '/api/tickets/**',
headers: {
'Authorization': 'Bearer X'
}
}
},
17 replies
NNuxt
Created by Moritz Walter on 11/4/2024 in #❓・help
Import composables from an other Module
Hi! I would like to import/use a composable from another module in my module. How do I do this? The module is also installed in the application itself.
10 replies
NNuxt
Created by Moritz Walter on 3/29/2024 in #❓・help
HTTP-Statuscode on useFetch()
hi, I wanted to use "useFetch" to query data from an API. How do I get the HTTP status code from the response?
9 replies