Is it possible to return a non-200 response from a...
# suitecommerce
c
Is it possible to return a non-200 response from a
<http://service.ss|service.ss>
file? If so, how?
t
I believe only through throwing an error. like 400 i think
you can parse the error message
lame but what can you do
c
I tried throwing an error from
N/error
and still got a 200 back. Maybe a hard JS
new Error()
?
t
oh thats weird
let me check if I can get a different response code but might be tomorrow
c
Just tried, still got a 200.