S
S
serking772019-02-27 15:34:19
Angular
serking77, 2019-02-27 15:34:19

What request to send for authorization in Restfull application?

I am writing a front-end in Angular, and at the same time I am designing a REst API for the back-end... How to properly authorize... I decided to use JWT, but it’s bad luck what method to send the login and password from the front-end... Will there be Feng Shui POST, because I don’t create a resource ... but I only get a token... But I don't feel like GET either... after all, since ancient times, the password was sent only in the body... HTTPS will be used...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question