Trip Builder PHP based API usign curl requests