Here is the REST server code:
@RequestMapping(value = "/create", method = RequestMethod.POST)
public MyObject create(@RequestBody Map<String, Object> myMap){
String nameStr = (String) myMap.get("nameStr");
String labelStr = (String) myMap.get("labelStr");
return new MyObject(nameStr, labelStr);
}
How do I call this server by Python?