added curl examples, debugging