Changes in project api?
Changes in project api?
Hi,
have there recently been changes in the api? My http request does not work anymore at the point were I insert new milestones. It worked before however and I can't figure out why and what I need to change at my code. If I use the html forms it works.
Thank you for any suggestions.
Olaf
-----
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod( "POST" );
connection.setDoInput( true );
connection.setDoOutput( true );
connection.setUseCaches( false );
OutputStreamWriter writer = new OutputStreamWriter( connection.getOutputStream() );
writer.write(parameter);
writer.flush();
writer.close();
System.out.println("in http nach connectionPOST");
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
for ( String line; (line = reader.readLine()) != null; )
{
ergebnisAbfrage = ergebnisAbfrage + line ;
}
reader.close();
connection.disconnect();