Docker Remote API for interactive command execution

Hi,

I want to run interactive commands like top and tail -f over http ( Docker Remote API ) but stdout and stderr does not seen to be streaming anything with the below command. Could someone help?

http://113.128.176.101:4243/containers/69cca866fda06e1636bfa11e30a9dd11b7868d9e9d3d984c292e1cf7f1473a57/exec

{
“AttachStdin”: true,
“AttachStdout”: true,
“AttachStderr”: true,
“Tty”: true,
“Cmd”: [
“top”
]
}
OUTPUT - 1cdd1b67fb01062929dd2e4ee8102c4bde77f17a85619c3ed3f84715ef65502b

http://113.128.176.101:4243/exec/1cdd1b67fb01062929dd2e4ee8102c4bde77f17a85619c3ed3f84715ef65502b/start
{
“Detach”: false,
“Tty”: true
}

STUCK HERE – No StdOut or Err here.