I am trying to do mininet environment and MiniNAM enviroment
This is my python code:

This is my MiniNAM Interface

When I want to pingall,it is failed. I don't what happen......
I used google to search this problem, but I got another problem
https://ting-kuan.blog/2018/04/04/%E3%80%90sdn-switch-flow-table-%E8%A8%AD%E5%AE%9A-%E4%BD%BF%E7%94%A8mininam-%E3%80%91/
When I used one method, the method is add flow entry to switch.
However, I got some Error, I don't what to do.
Moreover, I give this code
curl -X POST -d '{"dpid":"0000000000000004","priority":"100","actions":[{"type":"OUTPUT","port":2}],"match":{"in_port":1}}' http://127.0.0.1:6653/status/flowentry/add
The Error code is:
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.

I hope you can help me. Thank you