# spring-content-demos **Repository Path**: lmtoo/spring-content-demos ## Basic Information - **Project Name**: spring-content-demos - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-content bug reproduce ### spring.content.rest.base-uri leading slash missing https://github.com/paulcwarren/spring-content/issues/90 - step1. start the boot application - step2. create document metadata curl -H "Content-Type:application/json" -X POST http://localhost:8080/api/v1/documents/ -d "{}" - step3. upload a file curl -F 'file=@/etc/hosts' http://localhost:8080/api/v1/content/1 - step4. create a document group curl -X POST http://localhost:8080/api/v1/documentGroup -H "Content-Type:application/json" -d "{\"name\":\"groupName\"}" - step5. link the group to document curl -X PUT http://localhost:8080/api/v1/documentGroup/2/entries -H "Content-Type:text/uri-list" -d "http://localhost:8080/api/v1/documents/1" - step6. navigate to group curl http://localhost:8080/api/v1/documentGroup/2 - step7. navigate to entries curl http://localhost:8080/api/v1/content/2/entries/882ab7b0-545f-4a2a-b727-43d992978d2d