wallbox icon indicating copy to clipboard operation
wallbox copied to clipboard

Basic information should be a "GET" not a "PUT"

Open CaptKarnage opened this issue 5 months ago • 1 comments

@SKB-CGN

Under section "Receive Data from the Wallbox - API" subsection "Basic information" the comment states "/* Send a PUT request to the API */" and the code reflects this with "method: 'PUT'"

Using the "PUT" method, I get error "You do not have permission to do this action"

By changing "PUT" to "GET" (which makes sense for retrieving information rather than controlling), I successfully retrieved the information.

Please change it from "PUT" to "GET"

CaptKarnage avatar Jul 24 '25 18:07 CaptKarnage

Hi, The PUT command is correctly working, as you also PUT the credentials.

SKB-CGN avatar Sep 12 '25 12:09 SKB-CGN