This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:interfaces:webaw [2020/09/25 14:13] hch [End-device registration] | wiki:interfaces:webaw [2020/09/25 14:17] (current) hch [Authentication] | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| LOGIN_RESULT=$(curl "$URL/application/administration/login"  \ | LOGIN_RESULT=$(curl "$URL/application/administration/login"  \ | ||
| --data-binary '{"login":"spn","password":"spnpwd"}'  \ | --data-binary '{"login":"spn","password":"spnpwd"}'  \ | ||
| - | --insecure -s \ | ||
| ) | ) | ||
| Line 171: | Line 170: | ||
| # GET RX data for all end-devices | # GET RX data for all end-devices | ||
| - | curl --insecure -s \ | + | curl -s \ | 
| "$URL/application/spn/rx_data/file"  \ | "$URL/application/spn/rx_data/file"  \ | ||
| -H "Authorization: Bearer $TOKEN"  \ | -H "Authorization: Bearer $TOKEN"  \ | ||