test post json data
return json data to get request
add a flow entry to specify dpid and port,
with match and actions set