We are building content fragments and exposing to Mobile App.
Able to get the CF json output when we use direct publish URL https://publishURL/api/assets/abc-fragment.json
But when we use dispatcher URL(setup for our website) https://sitedomain/api/assets/abc-fragment.json we are getting page not found.
We do not want to use direct publish to expose Content fragments to Mobile App.
So do we have to configure any other settings or dispatcher rules to expose content fragment using a dispatcher vhost domain?
Appreciate inputs.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @visa679
/api needs to be allowed in the v-host and .any file for your website. Currently it will be blocked by dispatcher rule which is why you are getting a 404 response.
The same you can identify by checking the dispatcher.log as well.
Please apply the below entry in your filter section and it will be resolved.
/0002 { /type "allow" /url "/api/*"}
Links for reference:
Thanks!
Hi @visa679
/api needs to be allowed in the v-host and .any file for your website. Currently it will be blocked by dispatcher rule which is why you are getting a 404 response.
The same you can identify by checking the dispatcher.log as well.
Please apply the below entry in your filter section and it will be resolved.
/0002 { /type "allow" /url "/api/*"}
Links for reference:
Thanks!
Thanks Asutosh for the respone. We already added the filter to allow /api/assets/* path but still getting error.
Views
Replies
Total Likes
Views
Likes
Replies