Code example for HttpDelete

Methods: setURI

0
		return obj;
	} 
	public void deleteReservaPista(String id, String server){
		HttpDelete request = null;
		HttpClient client = new DefaultHttpClient();
		request = new HttpDelete();
		try { 
			request.setURI(new URI(server + "api/gestReservaPistas.php?id="+id));
			client.execute(request);
		} catch (URISyntaxException e) {
			e.printStackTrace();
		} catch (ClientProtocolException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
	} 
	public Socio getDatosSocio(Integer id){
Experience pair programming with AI  Get Codota for Java