MrBobDaisy
Use external ApiS in Nuxt?
Good to know that's the right way. I know the URL could also benefit from being in my
.env
file but the way this particular API works, they use the URL to update some stuff so I can't really store it in the .env
. I guess technically I could store the "meat" of the URL in that file but that's not going to change much of anything.
I think security wise it's probably fine. Since the URL/key isn't available client site, the likelihood of someone sending muddy data through is next to none.13 replies
Use external ApiS in Nuxt?
@FoxForGate So this is my component's API call
And my server/api/jobs call to the API with the private Bearer token
I know a Malicious user might be able to send a request to the API using my server/api call but not concerned about it.
13 replies