We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e468cc3 commit e6edc06Copy full SHA for e6edc06
iOS_SDK/OneSignalSDK/Source/OneSignalRequest.m
@@ -101,8 +101,8 @@ -(void)attachBodyToRequest:(NSMutableURLRequest *)request withParameters:(NSDict
101
}
102
103
NSError *error;
104
- NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&error];
105
-
+ NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted | NSJSONWritingWithoutEscapingSlashes error:&error];
+
106
request.HTTPBody = jsonData;
107
108
0 commit comments