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

Slim sends loads of nulls before actual json response in my app

vignesh's Avatar


03 Aug, 2015 03:09 PM

I am building an API using slim framework. It is working fine when I test in postman or other rest tools. But when I call it via angular angular fails to parse the response because of a loads of null values before the http response body, I detected this as red dots in chrome dev tools network tab. Then I used a fiddler to see under the hood. I attached the screenshot from the hex view of the response. You can see those nulls.
what could be the problem?

Reply to this discussion

Internal reply

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

Attaching KB article:


Already uploaded files

  • Capture3.PNG 74.2 KB

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