DiscussionSLA

Protect website against bot, but exclude APIs path

Published 23 days ago

Published 23 days ago

Aurobica

Updated 23 days ago

1

My webite expose APIs under the path /api/rest
I would like to enable anti bot challenge, with the slide, except for the URL like https://website_domain/api/rest/*
Is it possibile to exclude /api/rest/* from the anti bot filter? If i enable the filter on the whole application, the server to server integrations via API will stop working.
Can i apply the anti bot filter only to specific URLs?

profile_photo

dhsifss

Updated 23 days ago

0

image.png

you can try this in Custom Rules

Target: URL Path
Operator: Regex Match
Content: ^(?!\/api\/rest)\/.*

Aurobica

Updated 22 days ago

It works!
Thank you for your support

Related Posts