Giter Site home page Giter Site logo

Comments (8)

srokatonie avatar srokatonie commented on September 24, 2024

@Ephigenia I get "Access denied" when hitting https://www.ikea.com/ie/en/retail/iows/stores/038/item/SPR,29932181

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on September 24, 2024

Yes, that's probably some of the HTTP headers that the browser usually sends are required. I didn’t have time to reverse engineer which one is required. Usually, it’s the session cookie in the cookie header or just the referer.

from ikea-availability-checker.

srokatonie avatar srokatonie commented on September 24, 2024

@Ephigenia I'll see what I can do.

from ikea-availability-checker.

patrys666 avatar patrys666 commented on September 24, 2024

How to fix 403 error?

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on September 24, 2024

@patrys666 please provide more information about the 403 error you’re receiving. Please provide an example request URL and parameters or example call you’re making in the cli.

from ikea-availability-checker.

patrys666 avatar patrys666 commented on September 24, 2024

@Ephigenia

You don't have permission to access "http://iows.ikea.com/retail/iows/pl/pl/stores/availability/90210490" on this server.
Reference #18.df710617.1590422538.10587b88

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on September 24, 2024

@patrys666 I’ve created a separate issue for the issue you reported in #9. Please refer to it.

from ikea-availability-checker.

stevenpcc avatar stevenpcc commented on September 24, 2024

I wrote some software that used this API a few years back. Here are the headers I used. They worked consistently and never had to be updated.

{ 'Consumer' => 'MAMMUT', 'Contract' => '37249', 'Accept' => 'application/vnd.ikea.iows+json;version=1.0', 'Origin' => 'https://order.ikea.com', 'Referer' => 'https://order.ikea.com/gb/en/checkout/shoppinglist/' }

from ikea-availability-checker.

Related Issues (20)

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.