Am having a problem with my get request as params sent from react cannot be decerialized by axios into my springboot api
the error message on my api console is Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; For input string: "undefined"
Creating login page using reactsjs checking username and password on the server
The company that I have started working at has given me a task to do which I have never done, I have to create a login form through Reactjs and check the user and password which users enter to see if they exist on the server side or not and if they exist I go into the main page but if not I give them error message.
The thing is I have no clue how to perform this and I have found no guide specific to my needs, they have given me the address of api and valid usernme and password and they want if the user exists, the information which are 2 tokens and 1 expiry date to be saved on local storage, pretty much if I don’t finish this by tomorrow they are done with me.
would be lovely if you help me on this one