I need to send some json data to an external server. I have tried to use PHP cURL or stream_context_create with file_get_contents (like in a normal php script), but they didn't work. So I have tried with different method (like Zend_Http_Client class) but without result. Anyone know how can I do it?
Can you share an example about how the endpoint needs to receive the data?
Your module could perform a CURL call and set the data. It will depend on how you want to build your module but at the end something like that should happen.
(my 2 cents)