I
I
Ismail942020-11-17 12:44:27
Laravel
Ismail94, 2020-11-17 12:44:27

Be sure to validate the image on the server. Vue, Laravel?

I have an example, I want to upload an image to the server.
1) I do the validation of the selected image on vue.
2) I encode in a base64 string and send this code as text via ajax
. Is it possible to validate only on vue or is it necessary on the server.
What are the ways to solve this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin B., 2020-11-17
@Kostik_1993

In your case, you can not validate! And in general it is necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question