The 'C' code you show is just a shell, and won't actually do anything.
I assume you have the docs for the sim
You can use Python Flask
Here's a small sample of how to do it on the sim800
I assume you have the docs for the sim
You can use Python Flask
Here's a small sample of how to do it on the sim800