From 1d940096ec4f027518410a5277d6d164e9bcfce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CGerg=C5=91?= <“nagyger.91@gmail.com”> Date: Thu, 2 Apr 2026 03:27:40 +0200 Subject: [PATCH] fix false as string in the request --- website/static/code-examples/requests/restful_booker.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/code-examples/requests/restful_booker.robot b/website/static/code-examples/requests/restful_booker.robot index 261e56ed..9428b6b0 100644 --- a/website/static/code-examples/requests/restful_booker.robot +++ b/website/static/code-examples/requests/restful_booker.robot @@ -20,7 +20,7 @@ Get Bookings from Restful Booker Create a Booking at Restful Booker ${booking_dates} Create Dictionary checkin=2022-12-31 checkout=2023-01-01 - ${body} Create Dictionary firstname=Hans lastname=Gruber totalprice=200 depositpaid=false bookingdates=${booking_dates} + ${body} Create Dictionary firstname=Hans lastname=Gruber totalprice=200 depositpaid=${FALSE} bookingdates=${booking_dates} ${response} POST url=https://restful-booker.herokuapp.com/booking json=${body} ${id} Set Variable ${response.json()}[bookingid] Set Suite Variable ${id}