How to check username availability during entering username with POST method ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to check username availability during entering username with POST method ?

12th Dec 2019, 5:44 PM
Vedang Chavan
Vedang Chavan - avatar
4 Answers
+ 3
There is no need to use Post method. You can check by using Ajax or JSON Because you don't need to refresh the page. Create a function in JavaScript where you can send the request to server side through Ajax or JSON. Call that function onkeyup or onkeydown event on the textbox.
12th Dec 2019, 6:54 PM
A͢J
A͢J - avatar
+ 2
Vedang Chavan Ajax and JSON use post method. Btw you are not sending data through URL then why get method will come here. Go and check the working of Ajax and JSON. Then you can get that what I want to say.
12th Dec 2019, 9:58 PM
A͢J
A͢J - avatar
+ 1
😁got now.
13th Dec 2019, 5:55 AM
Vedang Chavan
Vedang Chavan - avatar
0
But get method is not considered safe ?
12th Dec 2019, 6:56 PM
Vedang Chavan
Vedang Chavan - avatar