Jnr PHP/Codeigniter Developer Question:

Do you know what is the difference between GET and POST?

Tweet Share WhatsApp

Answer:

☛ GET displays the submitted data as part of the URL, during POST this information is not shown as it’s encoded in the request.
☛ GET can handle a maximum of 2048 characters, POST has no such restrictions.
☛ GET allows only ASCII data, POST has no restrictions, binary data are also allowed.

Normally GET is used to retrieve data while POST to insert and update.
Understanding the fundamentals of the HTTP protocol is very important to have for a PHP developer, and the differences between GET and POST are an essential part of it.

Download Jnr PHP/Codeigniter Developer PDF Read All 61 Jnr PHP/Codeigniter Developer Questions
Previous QuestionNext Question
Tell me the value of the variable input is a string 1,2,3,4,5,6,7.
How would you get the sum of the integers contained inside input?
Tell me why is there a need to configure the URL routes?