Added a simple if-block to deal with POST for now.
This will be changed soon.