added 18 characters in body
Source Link

Below Curl request workworked perfect to me,

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": [[{"txid":"myid","vout":0}], [{"address":0.01}]] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

Without without " inside the "params"Double quote (") inside the "params".

Below Curl request work perfect to me,

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": [[{"txid":"myid","vout":0}], [{"address":0.01}]] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

without " inside the "params"

Below Curl request worked perfect to me,

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": [[{"txid":"myid","vout":0}], [{"address":0.01}]] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

Without Double quote (") inside the "params".

Source Link

Below Curl request work perfect to me,

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": [[{"txid":"myid","vout":0}], [{"address":0.01}]] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

without " inside the "params"