Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Access denied and Page not found responses + Content API

$
0
0

My website has a Page type to show exceptions and displays 404 or 403 based on result. Based on this, when a third party tries to query content from my site using Content API,

If the content doesn't exist, we send back 200 response with Exception page type with 404 information and similar thing for 403. How do I not send 200 and other info and just send Json 404 or 403 error in these cases.


Viewing all articles
Browse latest Browse all 6894

Trending Articles