add http protocol to curl commands