#Is there a way to detect between local api and http api?
3 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Hey @unkempt pebble,
If you have access to the req object, then you can access req.payloadAPI which will return one of either 'GraphQL', 'local', or 'REST'