Skip to content

Is there a way to consume the api's without an actual http request ? #144

Open
@Mina-R-Meshriky

Description

@Mina-R-Meshriky

Something like the tests $this->jsonapi()->get('/api/v1/posts')
but to be used within the app, like maybe \JsonApi::server('v1')->get('api/v1/posts') which will return the json response content ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions