As I understand - POST request only possible with json string -
is it true?
Can you make POST request with any string(example - dataForm)?
Can you give example how to make POST request?
Can you explain this part of swift code -
if (method.rawValue == "POST" || method.rawValue == "PUT"){
request.httpBody = try? JSONSerialization.data(withJSONObject: params, options: [])
As I understand - POST request only possible with json string -
is it true?
Can you make POST request with any string(example - dataForm)?
Can you give example how to make POST request?
Can you explain this part of swift code -
if (method.rawValue == "POST" || method.rawValue == "PUT"){
request.httpBody = try? JSONSerialization.data(withJSONObject: params, options: [])