Skip to content

Added a clear example of the formatting#108

Open
aop wants to merge 1 commit intogoecharger:masterfrom
aop:patch-1
Open

Added a clear example of the formatting#108
aop wants to merge 1 commit intogoecharger:masterfrom
aop:patch-1

Conversation

@aop
Copy link
Copy Markdown

@aop aop commented Aug 13, 2022

Changed the method to describe the fact that the HTTP method should be GET (even though the non-standard SET seems to work as well).

Also added an example clearing out how the payload should be input.

Changed the method to describe the fact that the HTTP method should be GET (even though the non-standard SET seems to work as well).
Also added an example clearing out how the payload should be input.

Update go-eCharger API v1 EN.md

For example setting the Ampere value for the PWM signaling to the value of "8" would be a

```GET http://192.168.4.1/mqtt?payload=amp=8```
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look like valid query string. Is the second (non URL encoded) = correct?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're probably right. I was using Postman to test out the request and that worked just fine so I'd assume that some encoding is happening in the background, or then this just works for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants