Hi,

I am new to java I have a project to be done with early deadline. Can u please help me how to write code in java to send GET request to server from client. Thank you in advance.

So, you accepted a job you're not qualified for, or you're in college and waited until the last minute to start on your project. In either case, you now want us to do your work for you. Sorry buddy, it's not going to happen.

I will tell you to the read the API documentation for HttpURLConnection, then give it a try, then post the code and all compiler/error messages you're getting and we will help.

Okie I will go through the documentation and try writing the code. Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.