Jump to content




Posting data to an SQL database


2 replies to this topic

#1 RabidToast

  • New Members
  • 1 posts

Posted 02 October 2012 - 10:08 PM

So... I don't really have any experience with SQL, HTTP or anything along those lines. All I want to know is if there is any possible way to use the http api to save data in an SQL database. I am aware that if possible, this would open up all sorts of security threats, but I would still like to know.

#2 chiloxsan

  • Members
  • 56 posts
  • LocationVictoria, AUS

Posted 03 October 2012 - 01:01 AM

You cannot access SQL databases directly since they use a different protocol than HTTP. Although you can set up a PHP script that does have access to the database on a webserver to act as a gateway.

#3 hego555

  • Members
  • 89 posts

Posted 04 October 2012 - 06:19 AM

I set up a whole money system through the HTTP API and SQL

But there is a man in the middle, or code in the middle if you will...

Its simple

Make a PHP site to handle all the quary's... feed it info with HTTP API and GET





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users