UPDATE
I have looked through many articles about how to post json data, but I also got error, so I want to know how to organize the POST data like python implementation.
I got a demo using Python language, there is a Post method with some data :
data = {
"token": token,
"voice_samples": [
{"wave": string1},
{"wave": string2},
{"wave": string3}
]
}
response = requests.post(endpoint, json=data)
I want to perform a same Post method using Objective-C with AFNetworking or C# , but I got different errors using many ways to organize data , can someone give me an example to send a Post method with the same data format described above ?
It seems very easy , but I always got error.