API-Integration
...
Netzwerke
Netzwerkgeräte
1 min
name get network devices method get url https api fsflt net panel network device list description get the list of network devices tab examples examples languages id ycrbwgm5zfu8lydanm7ui language curl code curl location request get https api fsflt net panel network device list n header accept application json n header content type application json n data customer code integer lang string customlabel id enbdspaccp09xayy7ltq language nodejs code var request require request ; nvar options n method get n url https api fsflt net panel network device list n headers n accept application json n content type application json n n body json stringify n customer code integer n lang string n n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n customlabel id y0yf44abd3f34w puxks0 language javascript code var myheaders new headers ; nmyheaders append accept application json ; nmyheaders append content type application json ; n nvar raw json stringify n customer code integer n lang string n ; n nvar requestoptions n method get n headers myheaders n body raw n redirect follow n ; n nfetch https api fsflt net panel network device list requestoptions n then response response text n then result console log result n catch error console log error error ; customlabel id lcz1ovj7jxpybz1gukfdv language python code import requests nimport json n nurl https api fsflt net panel network device list n npayload json dumps n customer code integer n lang string n nheaders n accept application json n content type application json n n nresponse requests request get url headers headers data payload n nprint response text n customlabel id ngtvqkovrekf mgjwfwjg language ruby code require uri nrequire json nrequire net http n nurl uri https api fsflt net panel network device list n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest accept application json nrequest content type application json nrequest body json dump n customer code integer n lang string n n nresponse https request request nputs response read body n customlabel selectedlanguageid ycrbwgm5zfu8lydanm7ui results languages id akimwpo9aw6dllnls71g1 language 200 customlabel code n code 200 n content n n id 33 2 n brand name mikrotik n brand code mikrotik n device name mikrotik nat connection dns over vpn n n n selectedlanguageid akimwpo9aw6dllnls71g1 request pathparameters queryparameters headerparameters name x api key kind required type string description your api key children bodydataparameters name customer code kind required type integer description id of the customer name lang kind required type string description lang code it en es pt fr de children formdataparameters currentnewparameter label header parameter value headerparameters