I am really new to mobile development so something is really unclear for me. I have iOS app that uses POST requests to my PHP script.
For example: I want to update some data on server. So I make POST request that contains id of record in database and it's new value.
How can I protect my server from unwanted POST requests? I know about sessions in PHP but how it can be implemented in swift and iOS programming.