[ct-skip] fix spacing
[ct-skip] switch curl providers
more boilerplate of Api class