Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
api trouble
#1
Trying to gather information with the following and it does not seem to be functioning.

http://127.0.0.1/sn?pw=opendoor

This does not work.  It just brings up the login screen.

Once logged in 

http://127.0.0.1/sn

does display the expected result

syslog before logging in.

Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /sn" - 303 See Other
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /login" - 200 OK
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-3.3.7/css/bootstrap.min.css" - 304 Not Modifi$
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39762 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-timepicker/css/bootstrap-timepicker.min.css" $
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/themes/basic/base.css" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/jquery-3.4.1.min.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-3.3.7/js/bootstrap.min.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39766 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39768 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39762 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-timepicker/js/bootstrap-timepicker.js" - 304 $
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 304 Not Modified
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:36] "HTTP/1.1 GET /static/themes/basic/logo.png" - 304 Not Modified
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39762 - - [07/Apr/2020 19:56:36] "HTTP/1.1 GET /static/themes/basic/grass.jpg" - 304 Not Modified
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39772 - - [07/Apr/2020 19:56:36] "HTTP/1.1 GET /static/images/manifest.json" - 304 Not Modified

Syslog after logging in
---
Apr  7 19:58:29 piutility sip[5099]: someone logged in
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39774 - - [07/Apr/2020 19:58:29] "HTTP/1.1 POST /login" - 303 See Other
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39774 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /" - 200 OK
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39774 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /static/themes/basic/home.png" - 304 Not Modified
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39778 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /static/themes/basic/on.png" - 304 Not Modified
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39778 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /api/status" - 200 OK
Apr  7 19:58:31 piutility sip[5099]: 192.168.1.202:54072 - - [07/Apr/2020 19:58:31] "HTTP/1.1 GET /api/log" - 200 OK
Apr  7 19:58:52 piutility sip[5099]: 127.0.0.1:39780 - - [07/Apr/2020 19:58:52] "HTTP/1.1 GET /sn" - 200 OK
Apr  7 19:58:52 piutility sip[5099]: 127.0.0.1:39780 - - [07/Apr/2020 19:58:52] "HTTP/1.1 GET /favicon.ico" - 303 See Other
Apr  7 19:58:52 piutility sip[5099]: 127.0.0.1:39780 - - [07/Apr/2020 19:58:52] "HTTP/1.1 GET /" - 200 OK
Reply


Messages In This Thread
api trouble - by danny_aka_rudy - 2020 Apr 08, 03:02 AM
RE: api trouble - by dan - 2020 Apr 08, 02:47 PM
RE: api trouble - by danny_aka_rudy - 2020 Apr 09, 01:49 AM
RE: api trouble - by dan - 2020 Apr 09, 07:01 PM
RE: api trouble - by danny_aka_rudy - 2020 Apr 10, 05:50 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)