refactored url#create and url#update into call_api.  Create now returns a hashie instead of nil for non-200 responses.