diff options
Diffstat (limited to 'ecomp-sdk/epsdk-fw/src/main')
-rw-r--r-- | ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/rest/RestWebServiceClient.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/rest/RestWebServiceClient.java b/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/rest/RestWebServiceClient.java index fa7a1478..9a1ea9fb 100644 --- a/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/rest/RestWebServiceClient.java +++ b/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/rest/RestWebServiceClient.java @@ -361,7 +361,10 @@ public class RestWebServiceClient { con.setDoInput(true); con.setDoOutput(true); + if( content != null) + { con.getOutputStream().write(content.getBytes()); + } con.getOutputStream().flush(); con.getOutputStream().close(); @@ -456,7 +459,10 @@ public class RestWebServiceClient { con.setDoInput(true); con.setDoOutput(true); + if( content != null) + { con.getOutputStream().write(content.getBytes()); + } con.getOutputStream().flush(); con.getOutputStream().close(); |