simplified flag submission to a single json endpoint