Retrieve data from loglogic using curl