Pass parameters directly on POST

As an aside, there should probably be some API integration tests...