Where do we use get and post?



Where do we use get and post?..

Answer / Ankush Goel

GET requests are typically used in browser URLs for data retrieval or when making AJAX calls, while POST requests are usually used for submitting forms, creating new resources, or updating existing ones.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Which is the correct way to check if a session has already been started ?

1 Answers  


What is a php object?

1 Answers  


Which php framework is best for web development?

1 Answers  


What is fetch array in php?

1 Answers  


How can we determine whether a variable is set?

1 Answers  


What are the functions to be used to get the image's properties (size, width and height)?

1 Answers  


How do you destroy a particular or all Sessions?

1 Answers  


What is use of mysqli_query in php?

1 Answers  


What is memcache?

1 Answers  


Tell me what is the difference between get and post?

1 Answers  


What is the difference between single-quoted and double-quoted strings in php?

1 Answers  


How to check a variable is an array or not in php?

1 Answers  


Categories