Add possibility to use curl to make requests