Java HttpRequest Return response

Simple HTTP Client in Java - HttpURLConection

I tried to understand that too but didn’t come

First try the method with inbuilt kodular component - Web Component.
Than you easily understand what to do .

i want to be extension

Simple
Set url and get response

File type : java

That’s why i suggest to first try with web component to understand the logic behind it.

Know the uses of web components

Read this topic. It contains all info about working with Http Request in Java.