I have a need to be able to take a posting from an external webserver and process the data in my plug-in.
I think I could handle this with an aspx page and then populate a device in HS, but it seems a clunky way to do this.
I would rather register a web page within my plug-in and use this as the callback page, but I can't seem to figure out how to obtain the data being posted.
The external URL being called would be something like:
http://myhssite.here.com/iz_Callback#token=ACCESS_TOKEN
What I need is to be able to pick up the #token=ACCESS_TOKEN bit, but I never seem to get the callback to the page I have registered (because there are no formdata I guess??)
Anyone got any suggestions on how I can achieve my desired outcome please?
I think I could handle this with an aspx page and then populate a device in HS, but it seems a clunky way to do this.
I would rather register a web page within my plug-in and use this as the callback page, but I can't seem to figure out how to obtain the data being posted.
The external URL being called would be something like:
http://myhssite.here.com/iz_Callback#token=ACCESS_TOKEN
What I need is to be able to pick up the #token=ACCESS_TOKEN bit, but I never seem to get the callback to the page I have registered (because there are no formdata I guess??)
Anyone got any suggestions on how I can achieve my desired outcome please?
Comment