There should be https instead of http.

And I'd prefer selecting the format via URL instead of HTTP header (i.e. remove -H "Accept: application/xml" and add time.xml to URL).