@@ -456,31 +456,30 @@ module MultipartElement =
456456
457457
458458
459- #if INTERACTIVE
459+ let res1 =
460+ http {
461+ POST " https://github.com/CuminAndPotato/PXL-JAM"
462+
463+ AcceptLanguage " en"
464+ Authorization " credOuter"
465+ if true then
466+ Authorization " credInner"
467+
468+ body
469+ json """
470+ {
471+ name: "PXL Clock",
472+ description: "A Beautiful and Fun Clock",
473+ programmingLanguage: [
474+ "F#", "C#", "JavaScript", "Python", "TypeScript" ]
475+ }
476+ """
477+ ContentType " application/json"
478+ }
460479
461- http {
462- POST " https://github.com/CuminAndPotato/PXL-JAM"
463-
464- AcceptLanguage " en"
465- Authorization " credOuter"
466- if true then
467- Authorization " credInner"
468-
469- body
470- json """
471- {
472- name: "PXL Clock",
473- description: "A Beautiful and Fun Clock",
474- programmingLanguage: [
475- "F#", "C#", "JavaScript", "Python", "TypeScript" ]
476- }
477- """
478- ContentType " application/json"
479- }
480-
481-
482-
483- let res =
480+
481+
482+ let res2 =
484483 http {
485484 POST " http"
486485 Accept " application/json"
@@ -493,11 +492,15 @@ let res =
493492 filePart " src/FsHttp/Dsl.fs"
494493
495494 textPart " das" " hurz1"
496- ContentTypeMultipart " application/json"
495+ if true then
496+ ContentTypeMultipart " application/json"
497+
498+ if true then
499+ textPart " das" " hurz1"
500+ ContentTypeMultipart " application/json"
497501
498502 // textPart "Lamm" "hurz2"
499503 // textPart "schrie" "hurz3"
500504 }
501505
502506
503- #endif
0 commit comments