Fix bug when array is empty
Add quick access to GET/POST