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 8216051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:59:50+00:00 2026-06-07T11:59:50+00:00

I am trying to make a simple POST request and I am still unsuccessful.

  • 0

I am trying to make a simple POST request and I am still unsuccessful.

Headers change from

Encoding: UTF-8 Http-Method: POST Content-Type:
application/x-www-form-urlencoded;charset=UTF-8

to

Http-Method: OPTIONS
Content-Type:

I understand that when I try to access my server using Google Closure XhrIo , it causes preflight and fails my POST request.

But Firefox extension app RESTClient and also a similar Chrome app can access using XMLHttpRequest and they don’t cause preflight. How and why ?

PS: I am not a JS pro and I fail to understand the intricacies of this code http://code.google.com/p/restclient/source/browse/extension/chrome/content/restclient.js.

Any help appreciated

Eddie.

  • 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-07T11:59:52+00:00Added an answer on June 7, 2026 at 11:59 am

    Found this piece of valuable information on HTML5Rocks.com

    CROSS-DOMAIN FROM CHROME EXTENSIONS

    Chrome extensions support cross-domain requests in a two different ways:

    Include domain in manifest.json – Chrome extensions can make cross-domain requests to any domain if the domain is included in the “permissions” section of the manifest.json file:
    “permissions”: [ “http://*.html5rocks.com”] The server doesn’t need to include any additional CORS headers or do any more work in order for the request to succeed.

    CORS request – If the domain is not in the manifest.json file, then the Chrome extension makes a standard CORS request. The value of the Origin header is “chrome-extension://[CHROME EXTENSION ID]”. This means requests from Chrome extensions are subject to the same CORS rules described in this article.

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

Sidebar

Related Questions

I'm trying to make a simple HTTP POST request, and I have no idea
I am trying to make an asynchronous request with POST method from a web
I'm trying to make a simple HTTP post a endpoint with ONLY url arguments.
I'm trying to use Zend_Http_Client to make a simple post request on a site
I'm trying to make a simple way to post a tweet to twitter, nothing
I'm trying to make simple script using jquery $post function to pass data to
I'm trying to make a simple php script to find all src attributes from
I am trying to make HTTP Requests from Delphi using the WinInet functions. So
Im trying to make a simple HTTP URLReqest in Adobe Flex, heres the code
im trying to make a simple search on my database from the index action

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.