'org.apache.http.impl.client.DefaultHttpClient' is deprecated

Are you getting error

'org.apache.http.impl.client.DefaultHttpClient' is deprecated

Replace

	HttpClient crunchifyClient = new DefaultHttpClient();

with

	HttpClient crunchifyClient = HttpClientBuilder.create().build();

Copyright © 2021 Crunchify, LLC.  •  Pro Services  •  Contact  •  Hosted at DiscourseHosting.