HttpPost Request Parameter?

Looking at the documentation found here:, I don’t understand the postData parameter.
Is it expecting a certain string format?

I need to pass data to the server via JSON.
Something like “{‘Id’: 2, ‘Desc’:‘Testing’}”

[code]dict = {‘Id’: 2, ‘Desc’:‘Testing’}

postData = system.util.jsonEncode(dict)[/code]

Thank you. :thumb_left:
It turns out jsonEncode does a better job encoding json than what I had.
The single quote in json was my problem. Needs to be double quote otherwise not valid.

So jsonEncode does all that behind the scene and encodes the dictionary object to:
{“Id”: 2, “Desc”:“Testing”}