Dear all,
I am writing to seek, in how to construct logic for to be able to call api controller query string such as api/user?username=9999&password=6666 and return message if successful. I a aiming to be able to call username and password and return message, if they are successful or not.
I have entity class called api_login. I am a little stuck in how do I retrieve api_login details, for example what kind of logic/method would i need to implement. Would i need to call 'GET' method for username or 'POST' method?
I plan to construct the logic in business logic layer such as Data class and call the data methods from data class into api controller class users.
Any help or guidance, in how do go about tackling this issue, would be very helpful.
Many thanks.