Skip to content
Demo project for Spring Boot to show usage of the location header
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
pom.xml

README.md

return-location-header-on-post-demo

Demo project for Spring Boot to show usage of the location header

curl commands to post new SomeEntity

curl localhost:8080/someEntities -v -X POST --header "Content-Type: application/json" -d "{\"value\" : \"someValue\"}"
curl localhost:8080/someEntitiesViaController -v -X POST --header "Content-Type: application/json" -d "{\"value\" : \"someValue\"}"
You can’t perform that action at this time.