Thank you! Been struggling with this for a while now on my own RESTful API.