Menu

Installation

Craig Cocca

INSTALLING SWITCHTRACK

Installing Switchtrack is extremely simple:

  1. Create a folder in your web hosting environment that will be the root for all of your API endpoints. A good starting point would be a folder called /api at the root of your site.

  2. Unzip or untar Switchtrack into the folder that you created in step 1. This should result in index.php, switchtrackresponse.class.php, and a folder called endpoints being places into the folder.

  3. Configure your web server to correctly route all requests to Switchtrack (see CONFIGURING YOUR WEB SERVER below)

  4. Test your installation by calling the example API endpoint included with Switchtrack: http://yourwebdomain/api/userexample/10/getdisplayname (note: change "api" to the name of the folder you created in Step 1). If everything is working, a JSON response containing the name of a famous, stranded astronaut should appear.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.