I have made a request to my server in my app. And posted data something like this.Server side is waiting for all parameters even they are nil. But i couldn\'t add nil values to
You can use the Optional type
Optional
var postDict = ["pass": 123, "name": "ali", "surname": Optional()]