Is there a difference, security wise, sending a username and password in the query string versus sending it as a complex object in the body of the POST?
I am using HTTPS.
Ex:
myservices.com/auth?username=myname&password=mypass
versus getting the Stream from the request and deserializing it to an object?
Since the method is POST and uses HTTPS, does it matter?
There is a huge difference. The query string is part of the URL. It is in the browser history and the address bar in plaintext. There are known attacks that can inspect a browser’s history. Do not put sensitive data in a URL.