Skip to content

GraphQL Requests without variables failing with 400 bad status #344

Closed
@svishalgarg

Description

@svishalgarg

When we call the graphql api, its failing when there is no variable passed even if they are not needs to be passed.

$client->GraphQL->post($graphQL);

I have also opened a pull request here : #343

you can merge it or provide your own fix for this issue :-)

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