made http utility for assembling the request to the OGS API