Skip to main content
POST
Replace String

Body

application/json
path
string
required

File path to modify

Example:

"/path/to/file.txt"

old_str
string
required

String to replace

Example:

"old text"

new_str
string
required

Replacement string

Example:

"new text"

Response

Successfully replaced string