mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Added variables in body in DivActionSubmit
commit_hash:8e66f1649e0789b8ccb1f409db8750460be05f8a
This commit is contained in:
@@ -21,6 +21,9 @@ final public class DivNetworkSubmitter: DivSubmitter {
|
||||
urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
|
||||
}
|
||||
urlRequest.httpMethod = request.method
|
||||
if let body = try? JSONSerialization.data(withJSONObject: data) {
|
||||
urlRequest.httpBody = body
|
||||
}
|
||||
|
||||
var task: NetworkTask?
|
||||
task = requestPerformer.performRequest(urlRequest) { [weak self] in
|
||||
|
||||
Reference in New Issue
Block a user