Moved to post for transmitting request. Moved client to separate file
Added missing parameter for test-request