refactor: moved from curl to requests