For Login GET or POST? [duplicate]
问题 This question already has answers here : Is either GET or POST more secure than the other? (27 answers) Whats the difference between GET and POST encryption? (5 answers) Closed 3 years ago . I want to know which HTTP method i use for developing a login API, GET or POST ?. I have developed my login API in PHP using post method, but my BOSS say that, why you use POST method instead of GET method. 回答1: Always POST , and preferably with SSL (as in: https://... ). Because the parameters in GET get