API Bug fix for posting