Api: allow call methods with full URL (with hostname)