set method and type together
append data fix
refactor createRequest()
method test
fix tests