GithubHelp home page GithubHelp logo

apideck-libraries / openapi-specs Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 2.87 MB

The OpenAPI specifications for the Apideck APIs.

Home Page: https://developers.apideck.com/

License: MIT License

openapi openapi3 apispec swagger sdk oas webapi

openapi-specs's People

Contributors

elsmr avatar gdewilde avatar geertwille avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openapi-specs's Issues

Request header field x-apideck-downstream-url is not allowed by Access-Control-Allow-Headers in preflight response.

When I called the proxy endpoint in the browser, first the browser send a preflight request to the apideck server. In the response of that preflight request, the Access-Control-Allow-Headers header tells us which header names are valid. This is the value of that header: content-type,x-amz-date,authorization,x-api-key,x-amz-security-token,x-amz-user-agent,x-apideck-app-id,x-apideck-consumer-id,x-apideck-service-id,x-apideck-auth-type,x-apideck-metadata,access-control-allow-origin,access-control-allow-credentials
As you can see, there isn't x-apideck-downstream-url in the valid heders name, so when I called the proxy in the browser I faced with this error:
Access to fetch at 'https://unify.apideck.com/proxy' from origin 'xxx' has been blocked by CORS policy: Request header field x-apideck-downstream-url is not allowed by Access-Control-Allow-Headers in preflight response.
Could you please explain how can I solve this issue? Or there is a issue in the proxy implementation and you need to fix it first.
Thank you for your consideration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.