add try API, support url query and header for now