Closed anbo-de closed 3 years ago
Hi @anbo-de @Perevalov I am trying to fetch a list of active components using below code
import requests
req = requests.get("https://webengineering.ins.hs-anhalt.de:43740/QanaryConfigurationController/components").content
req
but I am getting this error
b'{"timestamp":"2021-07-05T05:47:41.827+0000","status":404,"error":"Not Found","message":"No message available","path":"/QanaryConfigurationController/components"}'
I think I am using the wrong URL to get a list of components
here is the detail on how to get a list of components - https://github.com/WDAqua/Qanary/pull/49
can you check and tell me what I am doing wrong here?
Hi @anbo-de @Perevalov I am trying to fetch a list of active components using below code
import requests
req = requests.get("https://webengineering.ins.hs-anhalt.de:43740/QanaryConfigurationController/components").content
req
but I am getting this error b'{"timestamp":"2021-07-05T05:47:41.827+0000","status":404,"error":"Not Found","message":"No message available","path":"/QanaryConfigurationController/components"}'I think I am using the wrong URL to get a list of components
here is the detail on how to get a list of components - WDAqua/Qanary#49
can you check and tell me what I am doing wrong here?
Issue solved I have to use
import requests
req = requests.get("https://webengineering.ins.hs-anhalt.de:43740/components").content
req
DOD