Update Api.class.php

fixe backbone header http method overide. changed to ‘HTTP_X_HTTP_METHOD_OVERRIDE'