Use query params as curl params array