I was wondering how the JSON style interstate API is generated?
Asked by callumcarolan
Interstate’s framework has an API handler built in which lets us simply pass native PHP arrays which the framework handles and outputs a styled response in the format the HTTP Accept header defines (e.g. json, xml, phps, etc).
1 Notes