redirect
POST {{base_url}}/{{base_path}}/redirect
Generated from a curl request:
curl -X POST '{{baseurl}}/{{basepath}}/redirect' -H 'X-Joomla-Token: {{authapikey}}' -H 'Content-Type: application/json' -d '{comment
:",
header:301,
hits:0,
newurl:
/content/art/99,
old_url:
/content/art/12,
published:1,
referer:
"}'
Request Body
{"comment"=>"", "header"=>301, "hits"=>0, "new_url"=>"/content/art/99", "old_url"=>"/content/art/12", "published"=>1, "referer"=>""}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |