Fix POST/PUT data for subnet api

Change-Id: I30e624848081cb405814ac9fefc02ddbcf284da0
Merge "Fix POST/PUT data for subnet api"