Sensor for GraphQL login
Modified on 2025-06-10 20:21:08 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
Hi,
Is it possible to check the state of a GraphQL API to make sure that it is running.
I want to post data to https://my-api.azurewebsites.net/graphql in the form
{
"query": "mutation
{ authenticateUser(email: \"demouser@abccompany.com\", password: \"password\")
{accessToken refreshToken{ tokenString expireAt } }",
"variables": {}
}
Article Comments
Perhaps our Rest Custom sensor would fit here.
Kind regards,
Sasa Ignjatovic, Tech Support Team
Apr, 2022 - Permalink
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Perhaps our Rest Custom sensor would fit here.
Kind regards,
Sasa Ignjatovic, Tech Support Team
Apr, 2022 - Permalink