Easy to use API to export DB2 data to JSON.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
index.php
sql.php

README.md

restDB2

REST API to export data from DB2 server as JSON using PHP.

Requirements

How to use

  • Make sure your DB2 server is running.
  • To test the API run index.php file and enter database, username, password, and sql-query and output json will be returned.
  • To integrate it change the database, username and password from $_POST variable to actual values. Then you can do a POST request to sql.php using curl or a HTML form with 'sql' as a post field in the header.