Receive response from URL
Hi! I am developing an application in J2SE ...
I have to do to receive instant notification of payments from a PayPal-like service called "MercadoPago".
The API "MercadoPago" says that I must provide a URL (for example: "www.mysite.com/notifications_mercadopago") where I was informed when a customer registers a payment.
"MercadoPago" report as follows:
"www.mysite.com/notifications_mercadopago?topic=payment&id=id_noti fication"
(this "www.mysite.com" also could be replaced by a DynDNS service)
I'm not asking the exact source, but just to know where to run! he he he ...
I do not know how to start this, I do not know if it is necessary to set up a web server, I do not know if it resolves the Apache HTTP libraries, I really do not know how to begin to solve it ...
Any idea as to guide me?
Thanks a lot for reading!
Re: Receive response from URL
Not sure what you are asking.
Are you trying to write a server that other PCs can connect to with an HTTP GET?
Re: Receive response from URL
Not sure, but believe that I have to create a server that listens for instant notification of payments from MercadoPago.
That is precisely what I need to know: how to implement this requirement in J2SE. Or, if not possible in J2SE, how to implement it with another method or language.
Re: Receive response from URL
Quote:
create a server that listens for instant notification
How is the connection to the server to be done? How will the connecting software on the other end connect?
Will it use HTTP? Or how?
Re: Receive response from URL
That you are asking me is what I need help.
The requirement is mentioned, but I do not know how to resolve it from J2SE.
I do not know if I have to create a server, I do not know if I have to use a library for J2SE, I do not know if I have to ask Santa Claus (joke), I do not really know how to solve it.
Re: Receive response from URL
If you do not know how or what the users will be sending to your server, you will have to ask the users about it.
You need to get answers for those questions I asked.
For example the users could be sending the requests on pieces of paper by messenger pigeon.