Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8666615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:46:25+00:00 2026-06-12T17:46:25+00:00

How do I get the raw response returned by the server when using POST/DELETE

  • 0

How do I get the raw response returned by the server when using POST/DELETE methods in Backbone (so you can’t get the raw response in fetch/parse like GET)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:46:26+00:00Added an answer on June 12, 2026 at 5:46 pm

    You can access the responseText from the server when the ajax call is complete.

    The save, fetch, etc methods from Backbone provide the jQuery promise generated by the call to $.ajax.

    When this promise has been resolved (e.g. the transaction is complete), you’ll have access to the responseText property on the promise.

    var promise = a_model.save();
    $.when(promise).then(function(){
        console.log(promise.responseText); // if you're getting XML back it's `responseXML`
    });
    

    Here’s the jQuery docs on the jqXHR object which is the promise object you get.

    Additionally $.when and .then are described in the Deferred object documentation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the application "Fiddler", I can save a HTTP raw response as a text
This is the Raw response that is generated from the server (using Fiddler2) HTTP/1.1
HTTPWebResponse exposes properties for Headers, is it possible to get raw response like the
I need to get the raw server response, with headers. This also means that
Last year, I made an application in Java using PDFBox to get the raw
I need to get the response messages from an ftp server I'm troubleshooting a
I will get this in a Raw format and i am writing this using
I am trying to get the raw XML response from a web service, instead
How, if possible, do I get the raw XML request/response that is invoked/retrieved by
I'd like to take a GET response a send it's content-type, length & body

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.