I would like to send POST request but without using delegate. I have to have everything in a block. I'm also didn't want to use AFNetworking
for this simple task. Why? I have only one request in my app and doesn't feel like including 3-party library for this kind (i think easy) stuff.
I want to send dispatch
block request at -(void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
method.
try this: