A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: MX/Router.php

Line Number: 239

Backtrace:

File: /home/u1085578/public_html/whatsapp/application/third_party/MX/Router.php
Line: 239
Function: strpos

File: /home/u1085578/public_html/whatsapp/application/third_party/MX/Router.php
Line: 72
Function: set_class

File: /home/u1085578/public_html/whatsapp/index.php
Line: 315
Function: require_once

REST Server Tests

REST Server Tests

Home

See the article http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/

The master project repository is https://github.com/chriskacerguis/codeigniter-restserver

Click on the links to check whether the REST server is working.

  1. Users - defaulting to JSON
  2. Users - get it in CSV
  3. User #1 - defaulting to JSON (users/id/1)
  4. User #1 - defaulting to JSON (users/1)
  5. User #1 - get it in XML (users/id/1.xml)
  6. User #1 - get it in XML (users/id/1/format/xml)
  7. User #1 - get it in XML (users/id/1?format=xml)
  8. User #1 - get it in XML (users/1.xml)
  9. Users - get it in JSON (AJAX request)
  10. Users - get it in HTML (users.html)
  11. Users - get it in HTML (users/format/html)
  12. Users - get it in HTML (users?format=html)