API URL to call a custom method from java application

Hi, i want to write api in erpnext to receive some data and store that in database where the api is called by java application which is sent as json format. Can anyone please help.

How to call that api from another server that is not an erpnext?

Thanks

You can check this implementation in python to make your own java version.

Hi @khopadi thanks for the reply, i’ll try to make this implementation.