testing json and httpPost