Cheesy Does It

Today's hint was Can you apply the discount multiple times? Guess I'm getting a free pizza again!

So when I opened up the app, I immediately saw the "today's only" discount code. In combination with the hint, I knew I had to play around with this.

Race Condition

For some reason my brain wasn't braining, and I thought a race condition might be the answer. So I tried that and ended up with 20 reasonably priced pizza's 🍕

Not really what I was going for

Different discount code

Then I tried simply tried using the discount code pizza-20 or pizza-100 instead of pizza-10 , only to end up with a lot of pizza's that didn't had a discount code.

Multiple inputs

I tried adding the same discount field inside the JSON object multiple times, but that didn't work either.

Looking carefully at this request, I saw that the toppings was constructed with an array. So I tried to do the same with the discount.

And that did the trick! Got my major discount on my 31st 🤫 pizza, and the flag 🇧🇪

Last updated