What is the difference between GET and POST encryption?

GET data is appended to the URL as a query string: https://example.com/index.html?user=admin&password=whoops Because the data is appended to the URL, there is a hard limit to the amount of data you can transfer. Different browsers have different limits, but you’ll start to have problems around the 1KB-2KB mark. POST data is included in the body … Read more

Method not found: ‘System.Net.Http.HttpRequestMessage System.Web.Http.ApiController.get_Request()’.

I found a solution to this. After I started building, there was build warnings going to the output window but not showing in the main error / warning window. Check your output/error window if there are errors or warning then try to solve it. They were to do with assembly conflicts and said recommend putting … Read more

Multiline curl command

For Linux and MacOS: Use the \ escape character: curl “http://WEBSITE” -H “Host: WEBSITE” \ -H “Accept: text/html,application/xhtml+xml \ ,application/xml;q=0.9,*/*;q=0.8” For Windows: Use the ^ escape character: curl “http://WEBSITE” -H “Host: WEBSITE” ^ -H “Accept: text/html,application/xhtml+xml ^ ,application/xml;q=0.9,*/*;q=0.8”

File uploading using GET Method

GET requests may contain an entity body RFC 2616 does not prevent an entity body as part of a GET request. This is often misunderstood because PHP muddies the waters with its poorly-named $_GET superglobal. $_GET technically has nothing to do with the HTTP GET request method — it’s nothing more than a key-value list … Read more

Upload images to Imgur from Mathematica

A little bird just informed me of a Mathematica solution to this question (the underlying implementation still uses JLink, but this answer hides all the java related code): imgur[expr_] := Module[ {url, key, image, data, xml, imgurUrl}, url = “http://api.imgur.com/2/upload”; key = “c07bc3fb59ef878d5e23a0c4972fbb29”; image = Fold[ExportString, expr, {“PNG”, “Base64”}]; xml = Import[url, “XML”, “RequestMethod” -> … Read more