Replies: 1 comment 2 replies
-
Hi,
I'm currently on vacation and be back in May. I'll have a look after I'm
back.
J
…On Tue, 15 Apr 2025, 16:27 Antonin, ***@***.***> wrote:
Hi all,
I want to do this kind of request:
/php/server/events.php?action=getDevicePresence&mac=00:XX:XX:XX:XX:XX&start=2025-04-01T00%3A00%3A00&end=2025-05-01T00%3A00
I can't find a way to do this via "API Endpoint: GraphQL."
So I'm trying to do it via curl.
But I've set a password in the GUI to protect the application's use.
However, I don't know which user is used for authentication... so I can't
use curl -u username:password
curl -u username:password
http://x.x.x.x:20211/php/server/events.php?action=getDevicePresence&mac=00:XX:XX:XX:XX:XX&start=2025-04-01T00%3A00%3A00&end=2025-05-01T00%3A00
could you help me?
Thanks
Antonin
—
Reply to this email directly, view it on GitHub
<#1048>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AW5URDGYFMITRE3WP65QY2L2ZSYF5AVCNFSM6AAAAAB3E2QZ6KVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGIYDGOJUGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I want to do this kind of request:
/php/server/events.php?action=getDevicePresence&mac=00:XX:XX:XX:XX:XX&start=2025-04-01T00%3A00%3A00&end=2025-05-01T00%3A00
I can't find a way to do this via "API Endpoint: GraphQL."
So I'm trying to do it via curl.
But I've set a password in the GUI to protect the application's use. However, I don't know which user is used for authentication... so I can't use curl -u username:password
curl -u username:password http://x.x.x.x:20211/php/server/events.php?action=getDevicePresence&mac=00:XX:XX:XX:XX:XX&start=2025-04-01T00%3A00%3A00&end=2025-05-01T00%3A00
could you help me?
Thanks
Antonin
Beta Was this translation helpful? Give feedback.
All reactions