mardi 8 septembre 2020

how to make a get body travel method?

hello I have the following question, I have started to study about the API and RESTful I hope you can help me.

The Get methods are normally sent via the uri, for example

http: // example / login? name = Xxxx

but each method must maintain the standard of doing what the method indicates.

POST update
PUT insert
GET get
DELEATE delete

but if I have to do a Get but the data is very sensitive to travel in the uri. what should I do? Change it for a Post method so that it travels in the body?

I understand that it has security terms like jwt, but in those cases, what should be done?




Aucun commentaire:

Enregistrer un commentaire