How can i post any text in a web url in java?

Can anyone tell me how can i do this in java?
Capture

Have you checked Web component sources?

You must always search on community. You may get something related to your question.

Also, this is not related to kodular so better to search this on Google.

https://www.edureka.co/community/6308/java-sending-http-parameters-via-post-method-easily