posted 8 years ago
Hello JavaRanchers
Background :
When a user registers on our website with his details, we send SMS with random verification code . Now user need to put that code on the webpage and submits in order to verify his mobile number with us.
Problem:
I need to make a REST service which checks the SMS Verification code submitted by a user.
Solution :
I am doing it by GET call with query parameter as Verification code. /{userID}/verify-email?verificationCode=12121212
Query :
Is it right in accordance to REST standards or should I employ something else like POST for it.
Regards