get and post work ok