I want to use a localhost database in SQL for my IOS's app, how can I use .POST in a specific table ?
PD: I use Alamofire in Swift.
Alamofire is a networking library and not related to the persistence layer.
iOS has the Core Data framework for database access, it can use an SQLite DB, XML, binary or in-memory persistent stores. You do not run SQL queries directly, you use predicates. I would suggest reading up on what options are available to you before you start.
Realm is a good library to use, from their website:
Realm is a replacement for SQLite & Core Data