sync http request