Created
December 6, 2019 16:56
-
-
Save pettan93/23ce955cf7c573f3138af6b3d101697b to your computer and use it in GitHub Desktop.
CURL | PUT content to Confluence using REST API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -X PUT -u user:pass -H "Content-Type: application/json; charset=UTF-8" -d "{\"id\":\"111673413\",\"type\":\"page\",\"title\":\"ASD2\",\"space\":{\"key\":\"FP\"},\"body\":{\"storage\":{\"value\":\"hello\",\"representation\":\"storage\"}},\"version\":{\"number\":\"2\"}}" https://confluence.company.cz/rest/api/content/111673413 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment