rework code samples so HTTP is in separate files

however, the HTTP code doesn't work, so I left it out
though the files are there

author: diane fleming