return curl response