Let me preface this by saying that I'm a relative beginner when it comes to Linux, so please go easy. I'm using Ubuntu 20.04.
I have a site built with PHP-based website, and I'm trying to integrate it with someone else'sanother system. Their
This system sends data as XML data to a specific port (let's say port 9999). I canam able to capture those resultsthe incoming data and save it to a text file withusing netcat. However, but I need to be ablemy goal is to process thethis XML data using PHP and then send a response back to the other system. So I would like the data
Essentially, I want to receive fromdata on port 9999 toand then be sent to a URLsend it as POST data to a specific URL, possibly using cURL?.
CanI'm currently using Ubuntu 20.04.
Is it possible to achieve this be done? Oror am I takingapproaching it the wrong approachway?
I welcomewould greatly appreciate any suggestions, thanks in advance or guidance.