Refacto the curie/link request to resource