Closed boxybird closed 5 years ago
HTML is being return when there is a validation error. The JSON error is there as well, but the presents of the HTML creates a parsing issue. Any thoughts to what I can be doing wrong?
Looks like the solution was to include {X-Requested-With: XMLHttpRequest} as a header.
HTML is being return when there is a validation error. The JSON error is there as well, but the presents of the HTML creates a parsing issue. Any thoughts to what I can be doing wrong?