Curl request + small query modification added