This magento module provides GraphQL endpoints for learning query.
This endpoint allows to perform query operations and return json data.
GraphQL entry:
query {
CustomGraphql (
username: "Hirva",
password: "my-password",
fieldtype: "none"
) {
username
password
fieldtype
}
}
JSON output:
{
"data": {
"CustomGraphql": {
"username": "Hirva",
"password": "my-password",
"fieldtype": "none"
}
}
}