Search code examples
httprequesthttpresponseartifactory

204 No Content response code when setting a property in Artifactory


Trying to add the property in maven local repository in JFrog Artifactory using Artifactory REST API but received the response code HTTP/1.1 204 No Content when using the below PUT method:

Artifactory_url/api/storage/repo-name/abc.jar?properties=jiraID=DO1234&recursive=1


Solution

  • HTTP/1.1 204 No Content is the expected response.

    You will receive 404 Not Found if path doesn't exist.

    You should be able to see the properties on the artifact in Artifactory.