Changes

Jump to navigation Jump to search
41 bytes removed ,  15:59, 19 July 2022
no edit summary
|}
==REPLACEPUT==
{| width='100%'
|-
|width='130'|'''Syntax'''
|{{Code|REPLACE PUT [path] [input]}}
|-
| '''XML Syntax'''   
|<code><replace put path='...'>[input]</replaceput></code><br/>
|-
| '''Permission'''
|-
| '''Summary'''
|Replaces Adds or replaces resources in the currently opened database, addressed by {{Code|path}}, with the file, directory or XML string specified by {{Code|input}}, or adds new documents if no resource exists at the specified path.
|-
| '''Errors'''
| '''Examples'''
|
* {{Code|REPLACE PUT one.xml input.xml}}<br/>replaces the document {{Code|one.xml}} with the contents of the file {{Code|input.xml}}.* {{Code|REPLACE PUT top.xml &lt;xml/&gt;}}<br/>replaces the document {{Code|top.xml}} with the XML document {{Code|&lt;xml/&gt;}}.
|}
* Updated: {{Command|OPEN}}: {{Code|path}} argument dropped.
* Updated: {{Command|SHOW OPTIONS}}: Renamed (before: {{Code|GET}}).
* Updated: {{Command|PUT}}: Renamed (before: {{Code|REPLACE}}).
;Version 9.7
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu