I had some trouble with the title, sorry.
I’m having a discussion with a server gal from my work, we’re developing iphone application
on REST json standard, now the discussion is, that she said that if i send a request
to the server, she can return response code 200 (ok) and empty body. i think
that she need send 200, AND empty json {} in the body.
Is there a wrong or right here? or it’s just a design issue we have to agree on?
Thanks a lot
You should send a
204 No Contentresponse with no body and noContent-Type.