Resource API

Changes to POST /api/update-resource

post/api/update-resource