From 571e754b4bec581764829e4597deaf062110415b Mon Sep 17 00:00:00 2001 From: Alkaar Date: Fri, 12 May 2023 19:44:52 -0400 Subject: [PATCH] fix: add missing referer header (#122) --- src/main/scala/com/resy/ResyApi.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/com/resy/ResyApi.scala b/src/main/scala/com/resy/ResyApi.scala index f77aa71..fee662e 100644 --- a/src/main/scala/com/resy/ResyApi.scala +++ b/src/main/scala/com/resy/ResyApi.scala @@ -108,7 +108,8 @@ object ResyApi extends Logging { .withHttpHeaders( createHeaders(resyKeys) ++ Seq( "Content-Type" -> "application/x-www-form-urlencoded", - "origin" -> "https://widgets.resy.com/" + "Origin" -> "https://widgets.resy.com", + "Referer" -> "https://widgets.resy.com/" ): _* ) .post(post)