Mixpanel Community Icon

Understanding XHR Headers in Cross-Origin Requests to Mixpanel

·
·

Why are xhr_headers not being applied to the OPTIONS request, but only being applied to the POST request in a cross site origin request to mixpanel?

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Tyler H., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹

    Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hmm, I do not have enough information to answer your question. The provided knowledge sources do not contain specific information about xhr_headers and their application to OPTIONS or POST requests in cross-site origin requests to Mixpanel. To provide an accurate answer, I would need more detailed documentation about Mixpanel's handling of CORS (Cross-Origin Resource Sharing) and the specific behavior of xhr_headers in different types of requests.

    kapa.ai is still learning and improving, please let me know how I did by reacting below.

    ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.