1
24.7 Production Series / Re: POST API calls with JSON
« on: September 06, 2024, 11:33:24 am »
I'm really sorry. Updating to version 24.7.3 solved the problem
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
$curl -X POST \
--header 'Content-Type: application/json' \
--user $USER:$PASS \
--insecure \
--data-raw '{"vlan":{"descr":"B","if":"ixl2","pcp":"0","proto":"","vlanif":"ixl2_vlan2","tag":"2"}}' \
"https://192.168.4.189/api/interfaces/vlan_settings/addItem"
{"result":"failed"}