added POST handling; tests still fail