updated haskell api post