Help Needed: Sending GPS Data from A9G to Database

Hello,

I am trying to develop code to send the locations obtained from my A9G module to my database. I have developed an endpoint that receives the latitude and longitude and inserts them into my database. However, I am unsure how to send these locations via HTTP to my endpoint. I am using an Arduino Uno R3 and an A9G module, which has a SIM card inserted.

I would greatly appreciate it if anyone could help me and provide some working code or assist me in this matter. Thank you!

Your description is very foggy.
what kind of database?
what exact is a "A9G"-module?
getting GPS-Data?
or connecting to mobil phone network ?
or both?

So the only help is:
https://www.google.com/search?as_q=arduino+send+data+with+http

https://www.google.com/search?q=arduino+A9G+send+data+with+http

Hello,

Thank you for your response.

To clarify, I want to send the GPS location data to an endpoint I've set up, which then handles storing the data in a database. My goal is to send this data as a POST request, where the body should include { "location": { "latitude": XXXX, "longitude": XXXX } }.

The A9G module is responsible for retrieving GPS data, and I'm already able to capture and display this data in the serial monitor. However, I'm uncertain about how to send it to my endpoint via HTTP. I’m using a SIM card in the module to establish connectivity.

I hope this clarifies things a bit more. Thank you for any guidance on this!

Best regards

Again google is your friend
https://www.google.com/search?as_q=arduino+A9G+http+post+request

found this