我正在尝试将以下CURL转换为Swift,但似乎无法完全获得它。使用this堆栈溢出帖子是一个有用的指导,但是我不知道-d是request.http正文还是elswhere的一部分?
curl -d "client=SomeAppName&accountType=HOSTED_OR_GOOGLE&service=software&Email=test@example.com&Password=..." https://samplewebsite.com/accounts/Login
谢谢!