Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: add missing user-agent header (Alkaar#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
injust committed Aug 21, 2023
1 parent df91adc commit 6471d3c
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 @@ -109,7 +109,8 @@ object ResyApi extends Logging {
createHeaders(resyKeys) ++ Seq(
"Content-Type" -> "application/x-www-form-urlencoded",
"Origin" -> "https://widgets.resy.com",
"Referer" -> "https://widgets.resy.com/"
"Referer" -> "https://widgets.resy.com/",
"User-Agent" -> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
): _*
)
.post(post)
Expand Down

0 comments on commit 6471d3c

Please sign in to comment.