Skip to content

Commit

Permalink
fix: add missing referer header (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkaar authored May 12, 2023
1 parent b0dee34 commit 571e754
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/com/resy/ResyApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 571e754

Please sign in to comment.