Skip to main content
ExamExplained
NSW · Software Engineering
Software Engineering study scene
§-Quick questions
NSWSoftware EngineeringModule 2: Programming for the Web

Quick questions on APIs and REST explained: HSC Software Engineering Module 2

3short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.

What is consuming from Python?
Show answer
From a Python script or another back-end service, the requests library is the conventional choice for calling a REST API. It handles connection pooling and JSON parsing for you.
What are inconsistent status codes?
Show answer
Returning 200 for every response, even errors, breaks every consumer that uses status codes.
What are no authentication on writes?
Show answer
Anyone can POST to your API if you do not authenticate.

Have a question we have not covered?

This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.

ExamExplained