only get the location result if there's nothing more interesting. apiv2 returns more interesting stuff more often.
add more endpoints
fix the upload endpoint and accept its return code of 201