How to take screenshot on Samsung Galaxy S4

Capture Screen using Palm motion:
 
With Samsung Galaxy S4 you can capture the screenshot using the motion and gestures of the palm. To enable the motion and gesture follow below steps.
  1. On your Samsung Galaxy S4 go to Settings -> My device.
  2. On My device select Motion and gestures.
  3. Under Motion and gesture page enable and select Palm motions.
  4. Under Palm motion enable Capture Screen option.
 Now you can take the screenshot using your palm motion. Once you have enabled the palm motion, click on palm motion option, will launch the tutorial of how to capture the screen using palm motion.

Capture Screen using buttons:

Alternatively you can take the screenshot by pressing Power + Home button simultaneously. 

How to use 2G mobile data network on Samsung Galaxy S4

Samsung Galaxy S4 does not provide direct shortcut to use 2G data network as shown in below settings, as like other mobiles. To use the 2G mobile data network on Samsung Galaxy S4 you will have to follow below steps.
  1. On your Samsung Galaxy S4, go to Settings and select  More network.
  2. Under Wireless and Network settings, select Mobile networks.
  3. On Mobile Networks setting page click select the Network Mode setting.
  4. On Network mode dialog you may find below choices
    •  WCDMA/GSM ( auto connect ) : To choose any available 3G/2G network
    • WCDMA only : Use 3G only network
    • GSM only : Use 2G only network
From the available Network mode choose GSM only mode, this will allow you to use only 2G network and not 3G.

Golang: Http POST Request with JSON Body example

Go standard library comes with "net/http" package which has excellent support for HTTP Client and Server.   In order to post JSON ...