added example for curl