Skip to content

Possible to not make an OPTIONS call before POSTing? #225

Closed

Description

@Zensavona

Hey, I'm working with a Java backend which I do not have control over and it doesn't accept the OPTIONS calls axios likes to send before POSTing things, is it possible to skip the OPTIONS and just naively send a POST? I can't see an obvious way to do it. Am I missing something?

Thanks <3

Activity

  1. mzabriskie commented on Feb 5, 2016

    @mzabriskie
    Member

    The OPTIONS is a preflight request for CORS to verify if it's okay to make the request. There's no way around it if you're sending requests from one origin to another.

  2. Zensavona commented on Feb 5, 2016

    @Zensavona
    Author

    All good, thanks anyway!

  3. locked and limited conversation to collaborators on May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions