use httr url format in the document apis