Permalink
Switch branches/tags
Nothing to show
Commits on Apr 3, 2017
  1. Merge pull request #82 from shades3002/master

    preflight requests response
    committed on GitHub Apr 3, 2017
Commits on Dec 20, 2016
  1. Merge pull request #81 from tyzoid/master

    Fix compatability with PHP5.3
    committed on GitHub Dec 20, 2016
Commits on Dec 13, 2016
  1. preflight requests response

    shades3002 committed Dec 13, 2016
Commits on Dec 2, 2016
  1. Fix compatability with PHP5.3

    The Following constants are only defined as of PHP5.4, and are assumed to be strings by the interpreter:
    - JSON_PRETTY_PRINT
    - JSON_UNESCAPED_UNICODE
    Tyler Dence committed Dec 2, 2016
Commits on Jun 21, 2016
  1. Merge pull request #73 from 33mhz/master

    allow PATCH method
    committed on GitHub Jun 21, 2016
  2. override POST with PATCH

    33mhz committed Jun 21, 2016
  3. allow PATCH method

    33mhz committed Jun 21, 2016
Commits on Feb 15, 2016
  1. Allow classes to send error messages to the client

    Give classes complete control over the error messages for 400s where
    the client needs more info. Fixes #66
    committed Feb 15, 2016
Commits on Feb 1, 2016
  1. Merge pull request #61 from mleczakm/master

    Removes query string from request uri when searching for format
    committed Feb 1, 2016
Commits on Jan 29, 2016
  1. Removes query string from request uri when searching for format of re…

    …sults
    Michał Mleczko committed Jan 29, 2016
Commits on Jan 26, 2016
  1. Merge pull request #60 from simonepri/master

    update(1.0.1): added function to give the possibility to change json_decode behavior
    committed Jan 26, 2016
  2. Update RestServer.php

    simonepri committed Jan 26, 2016
  3. Merge pull request #59 from jacwright/fix-root

    Fixes incorrect merges with cleaner code
    committed Jan 26, 2016
  4. Fixes incorrect merges with cleaner code

    This is a duplicate of #58 with a clean merge path.
    committed Jan 26, 2016
  5. Fix root for windows

    committed Jan 26, 2016
  6. Merge pull request #55 from bingo4508/master

    For restricted server users to set root path
    committed Jan 26, 2016
  7. Merge pull request #57 from simonepri/master

    bugfix
    committed Jan 26, 2016
  8. feature custom root in the constructor

    This PR allow to setup a custom root in the constructor file.
    This is necessary for local development because, for example on windows:
    Suppose to execute a requesto from:
    127.0.0.1/prefix-api/query/123
    
    
    $dir = dirname(str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['SCRIPT_FILENAME']));
    
    $dir now will be for exemple:
    C:/dev/api/query/123
    
    The preg_replace in "getPath" function will fail and the path will remain the same.
    The "findUrl" function will try to compare:
    query/123 with C:/dev/api/query/123
    and obviusly it will fail catching always 404 Error
    simonepri committed Jan 26, 2016
  9. bugfix

    $_SERVER['HTTP_ACCEPT'] is used without check if isset and this may
    generates error on some servers.
    simonepri committed Jan 26, 2016
Commits on Dec 15, 2015
  1. Fix

    hialunwu committed Dec 15, 2015
Commits on Dec 14, 2015
Commits on Jun 23, 2015
  1. Fixes #32

    committed Jun 23, 2015
Commits on Jun 21, 2015
  1. Update README.md

    Fixed broken link in Section "Installation/By Hand"
    stevleibelt committed Jun 21, 2015
  2. Merge pull request #42 from stevleibelt/master

    fixed wrong links for packagist
    stevleibelt committed Jun 21, 2015
Commits on Jun 13, 2015
Commits on Jun 12, 2015
  1. Merge pull request #41 from stevleibelt/master

    fixed uppercase issue in project name
    committed Jun 12, 2015
Commits on Jun 9, 2015
  1. Merge pull request #40 from stevleibelt/master

    prepared for packagist / implemented usage of composer
    committed Jun 9, 2015