w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • JavaScript
  • Ember.js
  • Data

DS.RESTAdapter#methodForRequest()

methodForRequest (params) Stringpublic

Defined in addon/adapters/rest.js:1254

Get the HTTP method for a request.

Parameters:

params Object

Returns:

String
HTTP method
Links:
  • http://emberjs.com/api/data/classes/DS.RESTAdapter.html#method_methodForRequest
doc_EmberJs
doc_EmberJs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
DS.RESTAdapter DS.RESTAdapter Class Extends: DS.Adapter Uses: DS.BuildURLMixin Defined in: addon/adapters/rest.js:31 Module: ember-data The REST adapter allows
DS.RESTAdapter#findHasMany() findHasMany (store, snapshot, url) Promise Defined in addon/adapters/rest.js:595 Called by the store in order to fetch a JSON array for the unloa
DS.RESTAdapter#query() query (store, type, query) Promise Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:475 Called by the store in order to fetch
DS.RESTAdapter#isSuccess() isSuccess (status, headers, payload) Boolean Defined in addon/adapters/rest.js:945 Available since 1.13.0 Default handleResponse implementation u
DS.RESTAdapter#coalesceFindRequests coalesceFindRequests{boolean} Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:300 By default the RESTAdapter will send each f


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions