Anyone know the best/simplest way to request https request (emphasis on the S in the https hahah)? I saw an older library by Vamsi switch doesn’t seems a little outdated. I have also looked at the webhook solution but I see that events have a 255 char limit so requests of JSON 2000+ char seems a little silly.
Is there a solution which particle or 3rd party library provide?
Side Question: if webhooks is still the answer, is there a way for products made with particle chips able to trigger same integration with different api keys and different parameters? (new to webhooks)
Yes, it's still the answer and yes that's possible.
I might be wrong, but currently the limit should be 622 bytes and if you have a JSON, are you really interested in all the 2000+ characters or could you make use of the ability of the webhook feature to extract and rewrap the desired input data to give you only what you actually need?
That doesn’t look like an error but your target server seems to hand you back an HTML/JS response instead of JSON.
Double check the target URL after substitution of the dynamic fields.
Also you need to wrap your JSON values in double quotes to be usable for substitution.