¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Modernizing the HTML control panel


 

¿ªÔÆÌåÓý

Thanks, Rik.

I've traced the data stream between the Browser and BPQ and am not seeing an OPTIONS message.

If I install your code in the BPQ HTML folder the token request is accepted. The api request fails as you are not supplying the token, but if I bypass the code to check this the data is returned.

There is a problem that BPQ isn't putting the correct content-type header in returned css but so long as the css is cached in the browser it works.

On reflection I'd prefer the pages to be installed on the server rather than allowing cross domain requests.

73, John




On 06/10/2024 10:30, Rik M7GMT wrote:

Sure. This pages tries to fetch the node list, but fails - see the developer console in your browser (right click on the page, choose "Inspect", then go to the Network tab).
?
The form expects the IP:port of a BPQ node's HTTP port. All the code for this is in js/api-client.js - to simplify the demo, it requests a new token before each request to the API (we wouldn't normally do this, of course).

Join [email protected] to automatically receive all group messages.