We are trying to get our iOS application to connect to our server.
We are using Swift 3.0.2
and Alamofire 4.4.0
.
Every time I try to make an Alamofire.request
, I get an error saying Extra argument in call
.
I have looked online at various pages and articles including ones on Stack Overflow and have tried all sorts of troubleshooting techniques such as rearranging the terms inside the call, initializing the values outside the call etc.
All we are trying to do is send a specific number to our server every time a specific button is pressed (The buttons and numbers are synced, so when we press button 1, we want to send a '1' to the server, and so on).
Any help on how to proceed further?