redirect
POST {{base_url}}/{{base_path}}/redirect
Generated from a curl request:
curl -X POST '{{base
url}}/{{base
path}}/redirect' -H 'X-Joomla-Token: {{auth
apikey}}' -H 'Content-Type: application/json' -d '{
comment
:"
,
header
:301,
hits
:0,
new
url
:
/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 | | |
RESPONSES
status: ``