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
The workaround is to base64 encode the data before sending. Similarly, receiving the data as byte array won't work. It needs to be a string which the client needs to then base64 decode.
structMessageSHA:Decodable{
// let value: [UInt8] - doesn't work
letvalue:StringletshaType:Int}
The text was updated successfully, but these errors were encountered:
Binary payloads are by default translated to JSON array and rejected by the server. Example:
The workaround is to base64 encode the data before sending. Similarly, receiving the data as byte array won't work. It needs to be a string which the client needs to then base64 decode.
The text was updated successfully, but these errors were encountered: