Skip to content
New issue

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

400 BAD REQUEST whenever setting is set (HTTP over USB) #486

Closed
walrashoud opened this issue Feb 17, 2024 · 1 comment
Closed

400 BAD REQUEST whenever setting is set (HTTP over USB) #486

walrashoud opened this issue Feb 17, 2024 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@walrashoud
Copy link

Component
What is the bug in?
HTTP (USB)

Describe the bug
Whenever I try to set a setting, I get 400 BAD REQUEST. E.g. http://IP:8080/gopro/camera/setting/59/0 is supposed to change poweroff to never, but I get bad request.

To Reproduce
Steps to reproduce the behavior:
Connect the camera over USB
Send this request: http://IP:8080/gopro/camera/setting/59/0

Expected behavior
200 OK, with the setting set

Hardware

  • Camera: Hero11, Black.
  • Mac OS
@walrashoud walrashoud added the bug Something isn't working label Feb 17, 2024
@github-actions github-actions bot added the triage Needs to be reviewed and assigned label Feb 17, 2024
@tcamise-gpsw
Copy link
Collaborator

Hey sorry this was a bug in the spec. It is updated now with the correct endpoints which would be, i.e.:

http://10.5.5.9:8080/gopro/camera/setting?setting=59&option=12

@tcamise-gpsw tcamise-gpsw added documentation Improvements or additions to documentation and removed triage Needs to be reviewed and assigned labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants