SceneSwitcher icon indicating copy to clipboard operation
SceneSwitcher copied to clipboard

HTTP POST truncates after ? in URL field

Open BenJamesAndo opened this issue 3 months ago • 2 comments

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

32.0.01

Advanced Scene Switcher Version

1.31.0

Plugin settings

No response

OBS Studio Log URL

No response

OBS Studio Crash Log URL

No response

Expected Behavior

To pass the full URL

Current Behavior

When I submit a URL via the HTTP POST action it cuts off after the ? Example http://192.168.1.191/number/source/set?value=2 Advanced Scene Switcher actually just sends http://192.168.1.191/number/source/set? Interestingly if I just send http://192.168.1.191/number/source/set then it sends http://192.168.1.191/number/source/set?

Steps to Reproduce

  1. Create HTTP action
  2. Send type as POST and enter a URL that includes ?
  3. Open Wireshark and observe the traffic ...

Anything else we should know?

Image

Advanced Scene Switcher

Image

Wireshark capture

BenJamesAndo avatar Oct 06 '25 11:10 BenJamesAndo

Can you check if it works as expected, if you set the parameters using the Set parameters option? So, something like this:

Image

Let me apologise in advance, if that is indeed the issue. I know that the UI is not the most intuitive in some places.

WarmUpTill avatar Oct 06 '25 17:10 WarmUpTill

Yes that worked perfectly. Sorry for the oversight on my end! Using parameters I believe is best practice anyway. I have noticed though that most HTTP tools still allow for the parameters to be part of the URL field. Perhaps AdvSS could support this as a fallback? If not then that's totally fine as well. I think though that Set parameters should be above Set headers as that's what most other tools do.

Postman

Image

n8n

Image

Cheers!

BenJamesAndo avatar Oct 06 '25 21:10 BenJamesAndo