added example for and moved curl to namespace uri