Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 1 month ago.
How to send data to a Java Server?
Hi!
I'd like to send data to a Java Server that will insert the data in a database. I already made the Server, it works with a Java client. But I need to send data to it with the Mbed using the Ethernet Interface.
Is there a library or something to add? Or a simple code to use?
I need to send some string like every minute to the server.
Thank you!
1 Answer
8 years ago.
Hi Antoine,
I apologize for the delayed response. I might recommend an HTTP POST request to send data to your Java server. Here's an example program with a description on how to use the mbed-http library in your program: https://os.mbed.com/teams/sandbox/code/http-example/
- Jenny, team Mbed