@flyrplnz
You can try below code
curl --location --request POST 'http://localhost:4502/bin/replicate.json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'path=/content/mysite/mypage' \
--data-urlencode 'action=Activate' \
--data-urlencode 'deep=false' \
--header 'Authorization: Basic YOUR_AUTHORIZATION_HEADER'
Replace http://localhost:4502 with your AEM instance's URL, /content/mysite/mypage with the path of the page or asset you want to publish, and YOUR_AUTHORIZATION_HEADER with a Base64-encoded string of the format username:password.