Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
iTibor 1
Hi,
net.HTTPClientstrips query string parameters – firmware 5.200.13 bugI'm running HC3 Lite with firmware 5.200.13 and I've discovered a critical bug with
net.HTTPClientin Lua scenes.Problem: When making a GET request with query string parameters, the HC3 completely strips everything after the
?character before sending the request.Example:
client:request("https://httpbin.org/get?SNs=EH257001316", {
options = { method = "GET", ... },
success = function(res)
print(res.data)
end
})
Expected result:
{ "args": { "SNs": "EH257001316" }, "url": "https://httpbin.org/get?SNs=EH257001316" }
Actual result:
{ "args": {}, "url": "https://httpbin.org/get" }
The query string is completely missing! The same request works perfectly in Postman with identical URL and headers.
Tested workarounds – all failed:
paramsoption in HTTPClientImpact: Any external API that requires GET query parameters is completely unreachable from HC3 Lua scenes.
I have an HC3 Lite running firmware 5.200.13. I'm trying to call an external REST API from a Lua scene using net.HTTPClient, but any GET request with query string parameters fails because the parameters never reach the server.
I confirmed this using httpbin.org – the args field is always empty and the URL is logged without the query string.
Same request works fine in Postman. Headers are correct. Token is valid.
Could you help me?
Tibor
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.