Skip to content

feat(http): add JsonP and JsonPBackend #2818

@jeffbcross

Description

@jeffbcross

Create a new subclass of Http called JsonP, which uses a new JsonPBackend to perform requests using JsonP techniques.

The callback name to provide in the URL should be JSON_CALLBACK, similar to AngularJS 1.x.

The JsonP implementation should throw if asked to perform the request with a method other "GET".

This should have its own injectables so that users who don't need it don't get the extra bytes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions