kszere / Custom-Software-For-Xiaomi-Dafang

API and panel site for Xiaomi Dafang
38 stars 7 forks source link

How to use authentication without api_key #4

Closed marciogranzotto closed 4 years ago

marciogranzotto commented 4 years ago

Since api_key is not yet implemented, how should we use the authorization with this API requests?

kszere commented 4 years ago

This not implementation for in the moment.

śr., 8 sty 2020, 13:57 użytkownik Marcio Granzotto Rodrigues < notifications@github.com> napisał:

Since api_key is not yet implemented, how should we use the authorization with this API requests?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kszere/Custom-Software-For-Xiaomi-Dafang/issues/4?email_source=notifications&email_token=ABWS22ZHXCRVBMNE7ZRMK63Q4XETZA5CNFSM4KEH5462YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEYFR6A, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWS22ZZAHOR7NYLQUHQFKDQ4XETZANCNFSM4KEH546Q .

marciogranzotto commented 4 years ago

No problem. I figured out I need the user and password in the URL like:

https://USER:PASSWORD@192.168.1.125/cgi-bin/api.cgi?action=reboot