Creating an extension header

Hi friends, I would like help to develop an extension, because traditional methods, uses many blocks and leaves some computers slow

I would like help creating the following blocks

Event

component_event (3)

Function

component_method (8)

Test.txt (4.4 KB)

It most likely will not be any quicker/better, the extension would be using much the same code "behind the scenes", plus you have the overhead of an extra extension in your app, doing the same thing that the web component does.

Always follow the naming conventions

And learn from the App Inventor sources, in your case the web component

Taifun
PS: your extension idea does not really make sense...

Always search in community.

Anyway, your query is specific to Java so you should have googled it instead.
https://www.google.com/search?q=get+request+with+headers+java+httpurlconnection