Skip to content

Detecting if a route is called via Dingo #8

Closed
@mrtimp

Description

@mrtimp

Hi All,

Is there a current 'correct way' (in a controller) to determine if a call came in via Dingo or not? The current scenario is there is an API and standard Laravel routes served from the same server and I would like the under specific situations to return more relationships (or less) via specific API calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions