Why is my swift alamofire sending get instead of post, also happened when i did not use the module?
import SwiftUI import Alamofire struct TestView: View { // Function to send the POST request using Alamofire func sendPostRequest() { // URL and data let url = “” let parameters: [String: Any] = [ “UserName”: “”, “Password”: “”, “__RequestVerificationToken”: “”, “submitbut”: “Submit” ] let headers: HTTPHeaders = [ “Host”: “”, “Content-Type”: “application/x-www-form-urlencoded”, “User-Agent”: “Mozilla/5.0 (Windows […]