It's UWAweek 47

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying the 2 articles in this topic
Showing 2 of 503 articles.
Currently 59 other people reading this forum.


 UWA week 21 (1st semester, week 12) ↓
SVG not supported

Login to reply

👍?
helpful
10:39am Thu 23rd May, ANONYMOUS

Did my demo the other day and this has been stuck in my mind since; one of the questions we were asked was “why did you choose get over post”, posed seemingly as a trick question. I said that since we are expecting a result from the station server, we are “getting” some data in the response which we need to use / display, whereas if we were just sending data without expecting a result then post would be more suited. But then the evaluator said that “actually they are identical and there’s no difference between them at all” and then wrote something down, I assume about my answer. I thought this was very strange so I looked into it and my intuition was correct;
> GET is for fetching data, appending parameters in the URL, ideal for searches. POST, used for updates, sends data securely in the request body, perfect for forms.
> Besides this, these two methods differ from each other in terms of parameters such as data transmission, data size, data type, security, idempotency, and use cases.
So they aren’t actually identical and there are times when it is possible to use one over the other correctly. I’m mainly sharing all of this to clarify whether we will lose marks based on not saying that these are identical, as I’m fairly sure that what I answered with was spot on, but given the response from the evalator I feel as if we may lose marks from my answer to this question. Also I am putting this on here just in case somebody else had a similar experience and was also wondering the same thing as me. Am I alone in this experience? I remember leaving the room extremely confused and I guess the only way to “get” (😃) a solid answer on this topic is to ask here.


SVG not supported

Login to reply

👍?
helpful
12:48pm Thu 23rd May, ANONYMOUS

Your understanding of the difference between GET and POST is absolutely correct. It’s strange that the evaluator claimed they are identical because, as you noted, there are significant differences in terms of purpose, data handling, security, and idempotence. And yeah, nice use of "get" in your message 😃

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy