- stevetripleoAsked on March 14, 2018 at 03:20 PM
My arguments never get passed through to fill the form questions. Can you see anything I am doing wrong?
let url = URL(string: "https://api.jotform.com/form/\(Constant.jotformFormId)/submissions?apiKey=\(Constant.jotformApiKey)")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
let postString = "submission=answer1&submission=answer2"
request.httpBody = postString.data(using: .utf8)
- JotForm SupportRichie_PAnswered on March 14, 2018 at 04:20 PM
I'm not really familiar with swift programming but these articles may help you.
Hope this information helps.
Please let us know if we can be of further assistance.