{"id":6763,"date":"2018-10-25T07:00:17","date_gmt":"2018-10-25T11:00:17","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=6763"},"modified":"2021-12-08T11:29:50","modified_gmt":"2021-12-08T16:29:50","slug":"how-to-use-both-get-and-post-methods","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/how-to-use-both-get-and-post-methods\/","title":{"rendered":"How to use Both GET and POST Methods in one Request"},"content":{"rendered":"\n
Because you are reading this, it tells me that you have somewhat wondered whether or what will happen should you want to use both GET and POST methods in your service requests.<\/p>\n\n\n\n
This is not typically taught in your run-off-the-mill web design<\/a> course and that could play out as to why this could be a question in your mind whether or not you are new to the web development<\/a> game.<\/p>\n\n\n\n Well, whenever a request is made from a web browser to a web server, there are a couple of unseen bits of data that are passed from the web browser to the server.<\/p>\n\n\n\n Depending on what you are doing this could be one or a combination of COOKIE, GET, and POST variables. Normally you do not control the passing of cookies as the casual website visitor but you may have more influence over the GET and POST methods based on your actions at the point in time.<\/p>\n\n\n\n As the web developer, you have complete control as to how you handle these variables and create an experience for your users.<\/p>\n\n\n\n GET is usually ideal for passing non-sensitive information back to the server. These could be parameters that control which page or what parts of a page to load.<\/p>\n\n\n\n GET is also ideal for smaller amounts of data. A good cap would be about 1025 characters. It is also good to know that browsers have a limit as to how much data can be sent via GET and POST methods.<\/p>\n\n\n\n POST is usually good for handling lots of data that needs to be sent to the server as well as sensitive information that should not be visible to pryingWhen Should you use GET and POST Methods?<\/h2>\n\n\n\n
eyes.<\/p>\n\n\n\n