Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-311

REST client class should not return empty string when using POST method

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.9.8, 1.10.2
    • 1.9.12, 1.10.6
    • None

    Description

      Current Situation

      When using the com.sos.jitl.restclient.JobSchedulerRestClient class with a method POST then an empty string will be returned.

      Desired Behaviour

      The REST client class should return the answer from the REST web service.

      com.sos.jitl.restclient.JobSchedulerRestClient.headers.put("Content-Type","application/json");
      
      String response = com.sos.jitl.restclient.JobSchedulerRestClient.executeRestServiceCommand( "post","http://localhost:8080/rest/security/login" );
      System.out.println(response);
      

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: