title: WSO2 API Manager compatibility with Python
body: <p>I want to know if WSO2 API Manager is compatible with Python and PHP based restful services or not?<br>
  I have several webservices which are developed on JavaEE, Python and PHP.<br>
  Except JavaEE, no other platform is communicating with WSO2.<br>
  On Python, I don't receive any RAW payload in my POST requests from WSO2.
  These services are working fine and can communicate with them via REST Console.</p>
  
  <p>Please see my other <a href="https://stackoverflow.com/questions/37966488/wso2-api-post-python-web-service-empty-or-no-payload-to-server">STACKOVERFLOW POST</a> for details.</p>
  
  <p>I need to know how I can consume Python services just like my JavaEE services. </p>
  
  <p><strong>--UPDATE 2--</strong></p>
  
  <p>Both WSO2 AM and Python server use default settings<br></p>
  
  <p>WSO2 Log - Python server response (NO TRY CATCH at server but root cause id empty payload)<br></p>
  
  <pre><code>    {org.apache.synapse.transport.http.wire} -  &gt;&gt; "OPTIONS /npl/1.0.0/neu-cha/getResults HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Host: 19.190.11.17:8243[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Origin: https://19.190.11.17:9443[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Access-Control-Request-Method: POST[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Content-Length: 0[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Access-Control-Request-Headers: accept, origin, authorization, content-type[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Connection: keep-alive[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Accept: */*[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp;[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Accept-Language: en-us[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Accept-Encoding: gzip, deflate[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; OPTIONS /npl/1.0.0/neu-cha/getResults HTTP/1.1 {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Host: 19.190.11.17:8243 {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Origin: https://19.190.11.17:9443 {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Access-Control-Request-Method: POST {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Content-Length: 0 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Access-Control-Request-Headers: accept, origin, authorization, content-type {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Connection: keep-alive {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Accept: */* {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp; {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Accept-Language: en-us {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Accept-Encoding: gzip, deflate {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; HTTP/1.1 200 OK {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Origin: https://19.190.11.17:9443 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Accept: */* {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Request-Method: POST {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Allow-Origin: * {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Allow-Methods: GET,PUT,POST,DELETE,PATCH,OPTIONS {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Request-Headers: accept, origin, authorization, content-type {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp; {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Host: 19.190.11.17:8243 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Accept-Encoding: gzip, deflate {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Accept-Language: en-us {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Date: Wed, 27 Jul 2016 08:58:11 GMT {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Transfer-Encoding: chunked {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Connection: keep-alive {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "HTTP/1.1 200 OK[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Origin: https://19.190.11.17:9443[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Accept: */*[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Request-Method: POST[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Allow-Origin: *[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Allow-Methods: GET,PUT,POST,DELETE,PATCH,OPTIONS[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Request-Headers: accept, origin, authorization, content-type[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp;[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Host: 19.190.11.17:8243[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Accept-Encoding: gzip, deflate[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Accept-Language: en-us[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Date: Wed, 27 Jul 2016 08:58:11 GMT[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Connection: keep-alive[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "0[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "POST /npl/1.0.0/neu-cha/getResults HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Host: 19.190.11.17:8243[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Origin: https://19.190.11.17:9443[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Content-Type: application/json[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Accept-Language: en-us[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Accept-Encoding: gzip, deflate[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Connection: keep-alive[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Accept: application/json[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Authorization: Bearer c7648f6ee71099c2e4779dda1d4f5bdf[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp;[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Content-Length: 22[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; POST /npl/1.0.0/neu-cha/getResults HTTP/1.1 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Host: 19.190.11.17:8243 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Origin: https://19.190.11.17:9443 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Content-Type: application/json {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Accept-Language: en-us {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Accept-Encoding: gzip, deflate {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Connection: keep-alive {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Accept: application/json {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Authorization: Bearer c7648f6ee71099c2e4779dda1d4f5bdf {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp; {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &gt;&gt; Content-Length: 22 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "{"query":"b'day card"}" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; POST /neu-cha/getResults HTTP/1.1 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Origin: https://19.190.11.17:9443 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Accept: application/json {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp; {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Accept-Encoding: gzip, deflate {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Accept-Language: en-us {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Content-Type: application/json; charset=UTF-8 {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Transfer-Encoding: chunked {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Host: 19.190.11.98:8010 {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; Connection: Keep-Alive {org.apache.synapse.transport.http.headers}
  
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &gt;&gt; User-Agent: Synapse-PT-HttpComponents-NIO {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "POST /neu-cha/getResults HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Origin: https://19.190.11.17:9443[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Accept: application/json[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Referer: https://19.190.11.17:9443/store/apis/info?name=neuCha&amp;version=1.0.0&amp;provider=admin&amp;[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Accept-Encoding: gzip, deflate[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Accept-Language: en-us[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Content-Type: application/json; charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Host: 19.190.11.98:8010[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "16[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "{"query":"b'day card"}[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "0[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "HTTP/1.0 400 Bad Request[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Server: PasteWSGIServer/0.5 Python/2.7.11[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Date: Wed, 27 Jul 2016 08:58:15 GMT[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Content-Length: 767[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "Content-Type: text/html; charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "    &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "    &lt;html&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "        &lt;head&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "            &lt;title&gt;Error: 400 Bad Request&lt;/title&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "            &lt;style type="text/css"&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "              html {background-color: #eee; font-family: sans;}[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "              body {background-color: #fff; border: 1px solid #ddd;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "                    padding: 15px; margin: 15px;}[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "              pre {background-color: #eee; border: 1px solid #ddd; padding: 5px;}[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "            &lt;/style&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "        &lt;/head&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "        &lt;body&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "            &lt;h1&gt;Error: 400 Bad Request&lt;/h1&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "            &lt;p&gt;Sorry, the requested URL &lt;tt&gt;&amp;#039;http://19.190.11.98:8010/neu-cha/getResults&amp;#039;&lt;/tt&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "               caused an error:&lt;/p&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "            &lt;pre&gt;Error while parsing chunked transfer body.&lt;/pre&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "        &lt;/body&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &gt;&gt; "    &lt;/html&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &lt;&lt; HTTP/1.0 400 Bad Request {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &lt;&lt; Server: PasteWSGIServer/0.5 Python/2.7.11 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &lt;&lt; Date: Wed, 27 Jul 2016 08:58:15 GMT {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &lt;&lt; Content-Length: 767 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-outgoing-5 &lt;&lt; Content-Type: text/html; charset=UTF-8 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; HTTP/1.1 400 Bad Request {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Allow-Origin: * {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Allow-Methods: POST {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Content-Type: text/html; charset=UTF-8 {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Date: Wed, 27 Jul 2016 08:58:11 GMT {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Transfer-Encoding: chunked {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.headers} -  http-incoming-9 &lt;&lt; Connection: Close {org.apache.synapse.transport.http.headers}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "HTTP/1.1 400 Bad Request[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Allow-Origin: *[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Allow-Methods: POST[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Content-Type: text/html; charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Date: Wed, 27 Jul 2016 08:58:11 GMT[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "Connection: Close[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "2ff[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "    &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "    &lt;html&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "        &lt;head&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "            &lt;title&gt;Error: 400 Bad Request&lt;/title&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "            &lt;style type="text/css"&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "              html {background-color: #eee; font-family: sans;}[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "              body {background-color: #fff; border: 1px solid #ddd;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "                    padding: 15px; margin: 15px;}[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "              pre {background-color: #eee; border: 1px solid #ddd; padding: 5px;}[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "            &lt;/style&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "        &lt;/head&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "        &lt;body&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "            &lt;h1&gt;Error: 400 Bad Request&lt;/h1&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "            &lt;p&gt;Sorry, the requested URL &lt;tt&gt;&amp;#039;http://19.190.11.98:8010/neu-cha/getResults&amp;#039;&lt;/tt&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "               caused an error:&lt;/p&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "            &lt;pre&gt;Error while parsing chunked transfer body.&lt;/pre&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "        &lt;/body&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "    &lt;/html&gt;[\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "0[\r][\n]" {org.apache.synapse.transport.http.wire}
  {org.apache.synapse.transport.http.wire} -  &lt;&lt; "[\r][\n]" {org.apache.synapse.transport.http.wire}
  </code></pre>
  
  <p><strong>Python Service Code:</strong>
  <br><br>
  Using Django<br></p>
  
  <pre><code>from django.shortcuts import render
  from django.http import HttpResponse
  from django.views.decorators.csrf import csrf_exempt
  
  @csrf_exempt
  def path(request):
      try:
          print request
          if request.method == 'GET':
              return HttpResponse("Hello GET Django")
          elif request.method =='POST':
              print request.body #ERROR OCCURS HERE
              return HttpResponse(request.body)
      except Exception, e:
          print e
          return HttpResponse(e)
  </code></pre>
  
  <p>Using Google App Engine<br></p>
  
  <pre><code>import webapp2
  
  class MainHandler(webapp2.RequestHandler):
      def get(self):
          self.response.write('Hello app world!')
  
  
  class PostHandler(webapp2.RequestHandler):
      def post(self):
          data = self.request.body #ERROR OCCURS HERE
          print data
          self.response.write('SUCCESS')
  
  
  app = webapp2.WSGIApplication([
      ('/', MainHandler),
      ('/data', PostHandler)
  ], debug=True)
  </code></pre>
  
  <p>These services are working fine and I am able to communicate with them via Rest Console.<br>
  But through WSO2's rest console, I am unable to pass my payload to service.
  <br>Payload either comes empty or I get Malformed Request Error.</p>
  
  <p>I have added Content-Length in request as per <a href="https://stackoverflow.com/questions/38405578/wso2-api-manager-not-propagating-content-type-header-for-multipart-form-data">solution</a> 
  Still content length in request header also comes 0 like <strong>Content-Length: 0</strong></p>
  
  <p>Services made using node.js and JEE works fine!!</p>
  
  <p>Why there is issue communicating with Python from WSO2???</p>