generic curl request class