Details
-
Type:
Fix
-
Status: Released (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.7, 1.10.2
-
Labels:
Description
Current Situation
The class com.sos.jitl.restclient.JobSchedulerRestClient provides POST and PUT commands but it is not possible to specify a body.
Desired Behaviour
It should be possible to specify the body when using the POST or PUT commands from the class com.sos.jitl.restclient.JobSchedulerRestClient.
com.sos.jitl.restclient.JobSchedulerRestClient.headers.put("Content-Type", "application/xml"); var post = "post(<resource><ID>4711</ID><LASTNAME>world</LASTNAME><FIRSTNAME>Hello</FIRSTNAME></resource>)"; var s = com.sos.jitl.restclient.JobSchedulerRestClient.executeRestServiceCommand(post, "http://arestservice_url.com/sqlrest/CUSTOMER/" );
Issue Links
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions