Trim whitespace from modules/*.php
REST API: Writing method must be accessed via POST
REST API: oops...this one too.