Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let myJson: JSON = JSON(["Uid":"cc","Channel":[["channelId":"201","channelName":"公視 PTS","Program":[["title":"爸媽囧很大 (普)","start":"1554951600000","stop":"1554955200000"],["title":"公視中晝新聞 (普)","start":"1554955200000","stop":"1554958500000"]]]]]
- )
- let myParms: [String: Any] = [
- "BookingResult": myJson
- ]
- Alamofire.request("http://rddev.andromeda.tti.tv/Andromeda/API/ClientMgr/BookingProgrammes",
- method:.post,
- parameters:myParms).responseJSON{response in
- print(myParms)
- let jsonResult = response.result.value
- // print(response)
- print(response.result)
- // print(jsonResult)
- }
Advertisement
Add Comment
Please, Sign In to add comment