Ajax post always return 302 redirect

i have ajax post request to cerin route but it always redirect 302

|POST|http://localhost:8088/yiiapp/index.php/module/LayerImage/id/1/lang/en|

Status

302

Found

VersionHTTP/1.1

Transferred7.36 KB (30.32 KB size)

Referrer Policyno-referrer-when-downgrade