Add post to API on form save