Posting GPS data to a Database

Hi there,

I am a newbie trying to post data strings from a GPS tracker to a Database. I have managed to set up a database, an http-functions.js file and I manage to post data to my DB using postman. I have two problems I foresee:

  1. I can enter a URL in the GPS tracker to which it will post data on a timed basis, it however requires a port number. From what I am starting to understand, it appears that I will not be able to address a port since my website is not sitting on my own webserver. Is that correct? If I am not able to do that, is there a workaround?
  2. When using postman, I generate a JSON string to post to the specific DB. The GPS however sends a text string in a fixed format that I can not edit. How do I translate this string once it reach the website?

Thank you in advance