title: HyperLedger-Fabric ChainCode Deployment Giving Parse Error
body: <p>I have setup a peer in a vm and its running fine. Also i have registered the chaincode with the peer through this</p>
  
  <blockquote>
    <p>CORE_CHAINCODE_ID_NAME=chaincode_example02 CORE_PEER_ADDRESS=localhost:51011 ./chaincode_example02 </p>
  </blockquote>
  
  <p>and it showed no error</p>
  
  <p>Now after this when i try to hit the init method from rest using this json </p>
  
  <pre><code>{
    "jsonrpc": "2.0",
    "method": "deploy",
    "params": {
      "type": 1,
      "chaincodeID":{
          "name": "chaincode_example02",
           "path": "github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02"
      },
      "ctorMsg": {
          "function":"init",
          "args": ["a","100","b","200"]
      }
    },
    "id": 10
  }
  </code></pre>
  
  <p>i get this error </p>
  
  <pre><code>{
    "jsonrpc": "2.0"
    "error": {
      "code": -32700
      "message": "Parse error"
      "data": "Error unmarshalling chaincode request payload: illegal base64 data at input byte 0"
    }-
    "id": null
  }
  </code></pre>
  
  <p>Can anybody tell me what am i doing wrong?</p>