![]() ![]() The website will make a new GET request, fetch the response, re-render the list of products, update the browser url address and save the url in the browser history (not necessarily on this order). Go to and click on any filter (“free shipping” for example). But what if a GET request is done implicitly through a SPA (via ajax or axios)? In this case the request URL has to be pushed manually via history.pushState and it can be updated on the browser’s URL address without redirecting the user.Ī. The browser uses its history to navigate the user back and forward, consequently, every new URL inputted will go automatically to the history. GET parameters will be stored on browser’s session history.Lets analyse these two methods with more details and understand their peculiarities. Which method only allows ASCII characters?ĭo you know all the answers and why? If you don’t, there is no reason to be ashamed. ![]() Which method is more secure and should be used to deal with sensitive data?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |