API separate methods (get, post)

Add separate methods for API request. Post params move to Task1.
Merge pull request #3 from JIucToyxuu/master

API separate methods (get, post)