Resource API

Changes to POST /api/add-resource

post/api/add-resource