I'm trying to update the routes field for an LRP.
$ curl receptor.10.244.0.34.xip.io/v1/desired_lrps/scoen-1 -X PUT -d '{"routes":{"tcp-router":[{"external_port":70000,"container_port":6379}]}}'
{"name":"InvalidJSON","message":"EOF"}
I have verified that this is valid JSON.
{
"routes":{
"tcp-router":[
{
"external_port":50001,
"container_port":6379
}
]
}
}
@amitkgupta suggested something about the payload needs to be escaped; I have not found this documented.