The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Return format

Ahmad Fathi Hadi's Avatar

Ahmad Fathi Hadi

31 Jul, 2012 05:25 AM

How to chose between JSON, XML or other return format ?


  1. Support Staff 1 Posted by Andrew Smith on 31 Jul, 2012 09:47 AM

    Andrew Smith's Avatar

    Slim does not dictate how or what format you return.

  2. Support Staff 2 Posted by Brian Nesbitt on 31 Jul, 2012 01:22 PM

    Brian Nesbitt's Avatar

    Maybe something in this thread will help?

    But if your question is really just how to choose, then you base it on the type of content you are returning!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac