Convert post request to get request in solr client