Giter Club home page Giter Club logo

owen-wilson-wow-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

owen-wilson-wow-api's Issues

[FEATURE] Get all wows for a specific movie

Describe the solution you'd like
I'd like to be able to get a list of all of the wows in a specified movie ie. wows/all?movie=cars

I'm not specifically set on the url path but would love to see this implemented. Im happy to give it a go if you accept PRs

Missing the issue templates

The project is currently missing the issue templates which help the audiences to interact with the project having some specific issues. If you would want to add them, then I would like to add a PR with some relevant issue templates.

Please let me know what you think about this.

Open API 3 spec?

Such a fun API. Great work!
I would love an Open API 3 specification yaml so I can really easily import this into Postman! I can already think of some great applications of this API for demoing Postman and Swagger actually.

Cross-Origin Request Blocked: Unable to fetch from server in project.

I wanted to have a little play around and perhaps build a funny front end (React + TS), and just doing some preliminary api checks.
And am receiving this error.

If i'm not mistaken i believe on the backend side you need to enable access-control-allow-origin: * to allow users to fetch results in their own apps.

Error below:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://owen-wilson-wow-api.herokuapp.com/wows/movies. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://owen-wilson-wow-api.herokuapp.com’).

Please correct me if i'm wrong.

This is the code i'm running.

const getWow = (): Promise<Response> => {
  return fetch('https://owen-wilson-wow-api.herokuapp.com/wows/movies')
}

const fetchWow = () => {
  getWow().then((w) => {
    console.log(w.json)
  })}

Attached to a button onclick.

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.