added curl code to README