Respond with JSONP #2752
Labels
feature parity
feature
REST
Issues related to @loopback/rest package and REST transport in general
stale
Implement support for JSONP:
When the requested
Accepts
headers containapplication/javascript
ortext/javascript
, we should return JSONP response instead of JSON.See the implementation in strong-remoting (LB 3.x) here: https://github.com/strongloop/strong-remoting/blob/33fbd72fb46035f707c3c62dce6b36ab075fb61e/lib/http-context.js#L480-L483
THIS STORY DEPENDS ON #436
The text was updated successfully, but these errors were encountered: