diff --git a/docs/Sending_Requests.fsx b/docs/Sending_Requests.fsx index af703172..60bc7ec5 100644 --- a/docs/Sending_Requests.fsx +++ b/docs/Sending_Requests.fsx @@ -92,6 +92,23 @@ http { *) +(** +## Plain text +*) +http { + POST "https://mysite" + body + // Sets Content-Type: plain/text header + text """ +The last train is nearly due +The underground is closing soon +And in the dark deserted station +Restless in anticipation +A man waits in the shadows +""" +} +|> Request.send + (** ## Request Cancellation