Booz Allen Hamilton Interview Question

how do you work on front-end without back-end supporting code? How to overcome curl errors?