adding post on d3.js swagger ui