httpresponse - Outputing Json string? -


It should be really simple ... I just want to create the following JSN Output as HTTPPrespation:

But for some reason an error is occurring.

Understand this I did:

  result = [{" Status ":" INVALID_REQUEST "," verified ": incorrect}] back to HTTPSpoint (simple.comp (result), mime type = 'app / jason')   

why this work will not be as well ?

  result = [{"status": "INVALID_REQUEST", "verified": wrong}] output = serializer. Serialize ('Jason', Results, Indent = 2) HTTPRPSPoint Returns (Output, MIMIPE = 'Application / JSN')    

Comments