HardWare
HardWare
NNuxt
Created by HardWare on 1/20/2025 in #❓・help
Handling multipart/form-data images on backend api
Can you gave me some example how to use multer? I'm kinda confused how it work. I have make something but idk if thats fine?
21 replies
NNuxt
Created by HardWare on 1/20/2025 in #❓・help
Handling multipart/form-data images on backend api
Gonna check it out, thank you
21 replies
NNuxt
Created by HardWare on 1/20/2025 in #❓・help
Handling multipart/form-data images on backend api
@kapa.ai provide me example code of that event
21 replies
NNuxt
Created by HardWare on 1/20/2025 in #❓・help
Handling multipart/form-data images on backend api
@kapa.ai I do know how to send image to Cloudinary. How to handle image from api event
21 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
On postman they works fine, same as curl request from nuxt container to api
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
I’ve tested other entities of my api, and that’s kinda strange. Some have that issue, some aren’t. I don’t know what to think about it
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
Is there possibility that response is not decompressed correctly?
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
No description
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
I'm also not sure, but it looks like parsing error thats why it looks like ss above
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
Yes, simple $fetch works in Nitro on container name request http://php
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
On server, I haven’t tried. Give a sec
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
Simple $fetch works fine. What do you mean „in Nitro”, am not sure?
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
No description
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
No description
22 replies
NNuxt
Created by HardWare on 11/27/2024 in #❓・help
$fetch and useFetch proxy request receive strange binary instead proper json+ld object
No description
22 replies
NNuxt
Created by Wirkhof on 11/15/2024 in #❓・help
Unable to restrict /es/admin path
Not gonna lie, if page is localized I prefere to use prefix on all pages, or no prefix at all. It's going to work any way correct cause i18n redirect on default browser locale if enabled. You have literary described here how to do it. https://i18n.nuxtjs.org/docs/v8/guide/custom-paths#module-configuration
7 replies
NNuxt
Created by HardWare on 11/14/2024 in #❓・help
Docker nuxt $fetch and useFetch
But it's fine if i'm using my docker container name to do server request?
11 replies
NNuxt
Created by HardWare on 11/14/2024 in #❓・help
Docker nuxt $fetch and useFetch
Okey, so its unable to change and I have to work with it.
11 replies
NNuxt
Created by HardWare on 9/20/2024 in #❓・help
How can I prevent showing form data in URL in NuxtUI submit?
<UForm :validate="validate" :state="state" class="space-y-4" @submit.stop.prevent="onSubmit">
<UFormGroup :label="$t('form.input.email')+'*'" name="email">
<UInput v-model="state.email" />
</UFormGroup>
<UFormGroup :label="$t('form.input.password')+'*'" name="password">
<UInput v-model="state.password" type="password" />
</UFormGroup>
<UButton :label="$t('form.button.register')" type="submit" block />
</UForm>
<UForm :validate="validate" :state="state" class="space-y-4" @submit.stop.prevent="onSubmit">
<UFormGroup :label="$t('form.input.email')+'*'" name="email">
<UInput v-model="state.email" />
</UFormGroup>
<UFormGroup :label="$t('form.input.password')+'*'" name="password">
<UInput v-model="state.password" type="password" />
</UFormGroup>
<UButton :label="$t('form.button.register')" type="submit" block />
</UForm>
2 replies