Category Archive For "JSON"
Javascript- Send HTTP Get/Post Request and Read JSON response
In this video video I have shown how you can send Http Get Request and Post Request. Here I have used 2 websites which can send Get and Post requests which give JSON response. 1. ipinfodb.com -> We can send Get Request with IP address, It will give JSON response with details of IP address …
How to Parse Nested JSON using JAVA
In this video I have shown how to Parse nested JSON response array using JAVA. Using two real http request example, 1. ipinfodb.com: This website will give JSON response of IP location details for the HTTP request we give. 2. google map api : Google Map API will give JSON response of the Location details …
Convert Java Object into JSON and JSON into Java Object | Jackson API
In this video I have shown how to parse JSON Object to a JAVA Object using JACKSON API. Project Structure, In this project we use 2 jars, 1. com.fasterxml.jackson.core.jar 2. com.fasterxml.jackson.databind.jar Add these jars to build path of Project For testing we have registered with website http://api.ipinfodb.com. After registering we will get the API Key.This …
Java-Send JSON Request and Read JSON Response
In this video I have shown how to Send a JSON Post request using JAVA and Parse the Response using JAVA. For testing we are using the Open web service from this website https://gurujsonrpc.appspot.com. In this project we are using 2 jars, 1. java-json.jar 2. org.apache.commons.io.jar Post_JSON.java package com.chillyfacts.com; import java.io.BufferedInputStream; import java.io.InputStream; import java.io.OutputStream; …
JAVA-Send URL HTTP Request and Read XML Response
In the below code I have shown how to read XML response after sending HTTP URL request using JAVA. For testing we have used Google Maps TimeZone API which returns XML response with the time zone of requested Coordinates. Get the API key and documentation from the below link. https://developers.google.com/maps/documentation/timezone/start Test_HTTP_XML.java package XML_TEST; import java.io.BufferedReader; …
JAVA-Send URL HTTP Request and Read JSON Response
In this video I have shown how to send a URL HTTP request using JAVA. For testing I used a site http://fixer.io/ through which we can send URL request and get JSON response of current currency rate. To read json Response you will have to add java-jason.jar to class path. 1. The JSON Response through …
JAVA- Send HTTP Get/Post Request and Read JSON response
This tutorial shows how to send HTTP Get Request using java and Read JSON response. To read json Response you will have to add java-jason.jar to class path. Send HTTP Get Request with Parameters. For testing I have signed UP with http://ipinfodb.com/ which gives the location of IP address for a get request with the …
Get IP address Location of Client/User JAVA web project
This project shows how to take IP address of user in your Web Project. And you can use the IP address to predict the location where they are using. Update the Key after registering in the website https://ipinfodb.com/ Get_Location_From_IP.java package Modal; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; public class Get_Location_From_IP { public Location_Use_Bean get_ip_Details(String ip) …
Integrate login with Social Network using JAVA
All the popular Social Media login integration is shown in the pages below. It includes Facebook, Reddit, Google, Instagram and LinkedIn. Go through the below pages. All the source code is shared in corresponding pages. Login with Facebook. https://chillyfacts.com/integrate-login-with-facebook-using-java/ Login with Google. https://chillyfacts.com/integrate-login-with-google-in-websites-with-java/ Login with Reddit. https://chillyfacts.com/integrate-login-with-reddit-in-website-using-java/ Login with Instagram. https://chillyfacts.com/integrate-login-with-instagram-in-website-using-java/ Login with LinkedIn. https://chillyfacts.com/integrate-login-with-linkedin-in-website-using-java/
Integrate Login with Reddit in Website using JAVA
Download the Source code here reddit_login_project.rar