For (almost) any HTTP request, the Headers determi...
# suitescript
e
For (almost) any HTTP request, the Headers determine the input/output format.
Content-Type
identifies the format of the data you send, while
Accept
identifies the format you expect back. Restlets should respect an
Accept
header of
application/json