Following is my sample code:
class C1(wtypes.Base):
id = wtypes.text
"The UUID of the C1"
class C1Resp(wtypes.Base):
"""
Representation of C1 Response
"""
c1 = C1
class C1Controller(rest.RestController):
@wsme_pecan.wsexpose(C1Resp, C1)
def post(self, c1):
print c1
When i send a curl request, i'm getting error "can't convert to c1"
please help me in this issue.
Thanks,
Sairam