hello I have read a lot of questions and answers about alamofire post request in swift but could not get the answer I really want what I really want is that: Post request using URLRequest and URLSession I have to assign an HTTPBody in the URLRequest this body can be an instance of a struct that conforms to encodable or codable but in alamofire post request how to send data ? where to put the data you want to send ? thank you and don't mark it as duplicate I have read a lot of posts and didn't find an answer .