How to check the JDK version of a class file
When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.
You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.
How to use JSON Object in JavaScript
JSON is part of JavaScript programming language and is the main choise when it comes to data manipulation in JavaScript.
JSON is used from storing data, transfering data between client and server to configuring data.
How to trim whitespace from string in Golang
How to trim (remove) leading and trailing whitespace from string in Golang using the TrimSpace
, Trim
, TrimLeft
, TrimRight
methods from strings
package.
How to setup a proxy with authentication for HTTP client in Golang
How to setup a proxy with authentication for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.
How to setup a proxy for HTTP client in Golang
How to setup a proxy for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.
HTTP URLConnection with proxy in Java
How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.