Skip to content

Using GET #2

@nevaus

Description

@nevaus

Does this utility support GET? I tried testing this in a bash script..

curl -X GET \
  -H "Accept: application/json" \
"http://ProxyIP:30072/request?username=service&password=dummypass&port=80&hostname=InverterIP&path=/config/exportlimit/

Also tried changing "Accept" to "Content-Type", without luck.

The proxy output show that it authenticates, but then ends showing this result:

 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
 </body>
</html>

Would be great for GET to work, so that we can retrieve existing settings from the inverter.
Many Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions