These are chat archives for allegro/ralph

3rd
May 2018
Chez
@Chez
May 03 2018 06:26
Ok, I found the APi data pages on the local dev machine
Does anyone know why the following curl command :- curl -s -H "Authorization: Token 950a0ca0ca830ff018fa22309137b507c09678b4" -X POST http://0.0.0.0:8000/api/virtual-servers/ -d '{"hostname": "VS-phishfinder-2", "service_env": 1, "status": 1, "type": 1, "hypervisor": 2}'
gives the error: {"type":["This field is required."],"hypervisor":["This field is required."]}