The Backbone.JS URL() model is used to get URL where model’s resource is located.
Syntax:
Model.URL()
Example:
Example
Output:
/exampleURL/models
Explanation: In the above example, the output is the URL where model’s resource is located.
Please follow and like us: