Switching Projects via external HTTP Request

Reactor allows to switch the current project via an external HTTP POST request.

The endpoint used is: /reactorapi/selectproject

This request allows to use the skaarOS authentication via HTTP Basic Authentication (Use the latest version of system-manager to allow this (v1.0.1-pre1 and higher))


Curl example:
curl --location --request POST '192.168.0.20/reactorapi/selectproject' \
--header 'Authorization: Basic YWRtaW46c2thYXJob2o=' \
--header 'Content-Type: application/json' \
--data-raw '{"Filename":"MyProject"}'


Revision #1
Created 21 November 2022 16:57:55 by Lukas Bachschwell
Updated 2 June 2023 12:42:36 by Lukas Bachschwell