dan_shneider
9 years agoVisitor
FormatJson results in a lower case string
I have a json like:
bodyJson = {
"userUUID" : mUserUUID,
}
str = FormatJson(bodyJson, 1)
This str is sent as the string on AsyncPostFromString, with the following headers :
mRequest.AddHeader("Content-Type", "application/json")
mRequest.AddHeader("Accept", "application/json")
mRequest.AsyncPostFromString(str)
mRequest.EnableEncodings(true)
For some reason, the string str is all in lowercase ("userUUID" becomes "useruuid")
Any idea?
bodyJson = {
"userUUID" : mUserUUID,
}
str = FormatJson(bodyJson, 1)
This str is sent as the string on AsyncPostFromString, with the following headers :
mRequest.AddHeader("Content-Type", "application/json")
mRequest.AddHeader("Accept", "application/json")
mRequest.AsyncPostFromString(str)
mRequest.EnableEncodings(true)
For some reason, the string str is all in lowercase ("userUUID" becomes "useruuid")
Any idea?