modify curl example.