REST stands for
Representational State Transfer
what is an Idempotent request?
A request that is safe to do over and over
a GET request is safe because it doesn’t change the database
a DELETE request is safe because once the original data is deleted (on the first request), nothing else will be deleted if you keep running the exact same Delete request
What is an envelope?
v
What is a Collection?
f
import test
def distance(x1, y1, x2, y2):
return 0.0test.testEqual(distance(1, 2, 1, 2), 0)
import test
def distance(x1, y1, x2, y2):
return 0.0test.testEqual(distance(1, 2, 1, 2), 0)
How many digits to the right of the decimal point does test.testEqual check?
testEqual checks 5 digits to the right of the decimal point