allow POST and print the json