You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to find an easy way to POST form data other than URL encoding the form myself and converting the String to bytes. Would it be possible to add an API to automate this?
The text was updated successfully, but these errors were encountered:
Just to say that if you need to URL encode a form you can use the QueryEncoder/Decoder in Kitura-Contracts. These take any Codable type and will encode them to application/x-www-form-urlencoded in the same way the JSONEncoder/JSONDecoder work.
You can then pass this Data to SwiftyRequest. This isn't as easy an it's own API but I hope an encoder/decoder make the process of creating the URL Encoded data easier.
I can't seem to find an easy way to POST form data other than URL encoding the form myself and converting the String to bytes. Would it be possible to add an API to automate this?
The text was updated successfully, but these errors were encountered: