We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl -X 'POST' 'http://localhost:9002/lua/rest/v2/edit/ntopng/user.lua' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"username":"admin", "password":"admin123", "confirm_password":"xxxx"}'
{"rc":-25,"rc_str_hr":"Unknown","rc_str":"EDIT_USER_FAILED","rsp":[]} <---- BUG HTTP/1.1 200 OK Cache-Control: max-age=0, no-cache, no-store Server: ntopng 6.2.241209 [Ubuntu 20.04.6 LTS [x86_64]] Set-Cookie: tzname=UTC; path=/ HttpOnly; SameSite=lax Pragma: no-cache X-Frame-Options: DENY X-Content-Type-Options: nosniff Content-Type: application/json Last-Modified: Wed, 12 December 2024 18:14:04 GMT Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, POST, HEAD Set-Cookie: session_9002_0=; max-age=3600; path=/; HttpOnly; SameSite=lax Set-Cookie: timezone=0; path=/ HttpOnly; SameSite=lax
{"rc":0,"rc_str_hr":"Success","rc_str":"OK","rsp":[]}
The text was updated successfully, but these errors were encountered:
manuelceroni
MatteoBiscosi
No branches or pull requests
curl -X 'POST' 'http://localhost:9002/lua/rest/v2/edit/ntopng/user.lua' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"username":"admin", "password":"admin123", "confirm_password":"xxxx"}'
{"rc":-25,"rc_str_hr":"Unknown","rc_str":"EDIT_USER_FAILED","rsp":[]} <---- BUG
HTTP/1.1 200 OK
Cache-Control: max-age=0, no-cache, no-store
Server: ntopng 6.2.241209 [Ubuntu 20.04.6 LTS [x86_64]]
Set-Cookie: tzname=UTC; path=/ HttpOnly; SameSite=lax
Pragma: no-cache
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Content-Type: application/json
Last-Modified: Wed, 12 December 2024 18:14:04 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, HEAD
Set-Cookie: session_9002_0=; max-age=3600; path=/; HttpOnly; SameSite=lax
Set-Cookie: timezone=0; path=/ HttpOnly; SameSite=lax
{"rc":0,"rc_str_hr":"Success","rc_str":"OK","rsp":[]}
The text was updated successfully, but these errors were encountered: