Search code examples
restler

Restler adds newline to output


Why I do something like a POST to a restler method, the output seems to always start with a newline character. How do I prevent that newline character from being put into the output?


Solution

  • I've never noticed that behaviour. Could it be some of your files having a bare new line outside of the PHP tags?

    Sample API request I've just made in a test project of mine:

    enter image description here