added curl example to README