Base64 GZipStream'ed JSON to PHP script

By Dag, on March 10th, 2017

Small note on how I gzipped some JSON and then base64 string-coded it for posting to a PHP script. This can save a lot of bandwidth over time
when using automated submittals of data with short intervals. The JSON (FinalOutput) below was created beforehand using JsonConvert.SerializeObject (Newtonsoft.Json).