mevdschee / php-sp-api

Single file PHP script that adds a REST API to a SQL database
54 stars 32 forks source link

SP Questions #6

Open raz0r007 opened 6 years ago

raz0r007 commented 6 years ago

Hi, I've two questions:

1- The API supports stored procedures with parameters?. If yes, how to do it? 2- What's the security of the api? Can I use auth / https / etc ? Or anyone person that uses POST in the url can view the info?

Thanks

mevdschee commented 6 years ago

Thank you for your questions.

1- The API supports stored procedures with parameters?. If yes, how to do it?

Just define a SP with parameters

2- What's the security of the api?

There is none, you have to add it yourself.

I hope this helps, Maurits