You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually, a POST requests has a POST body containing the data, either x-www-form-urlencoded or json. But in the SmartEVSE API you need to do a POST request but provide data using GET parameters (in the URL). This is kind of awkward.
The issue is request->getParam() is called in POST requests, without setting the 2nd parameter (post) to true.
I'd like to fix this.
Would a PR be accepted if the behavior is not backward-compatible?
The text was updated successfully, but these errors were encountered:
Usually, a POST requests has a POST body containing the data, either
x-www-form-urlencoded
orjson
. But in the SmartEVSE API you need to do a POST request but provide data using GET parameters (in the URL). This is kind of awkward.The issue is
request->getParam()
is called in POST requests, without setting the 2nd parameter (post) to true.I'd like to fix this.
Would a PR be accepted if the behavior is not backward-compatible?
The text was updated successfully, but these errors were encountered: