added script example to show non-POST methods