This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from requests_negotiate_sspi import HttpNegotiateAuth | |
url = "https://localhost:44356/home/getperson" | |
r = requests.get(url, auth=HttpNegotiateAuth()) | |
print(r.content) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import clr | |
clr.AddReference("System.Net.Http") | |
from System.Net.Http import * | |
if __name__ == '__main__': | |
clint_handler = HttpClientHandler() | |
clint_handler.UseDefaultCredentials = True | |
client = HttpClient(clint_handler) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let addNameAgeAndAddress fname lname age town = | |
sprintf "Your name is %s %s and you are %i years old and you live in %s" fname lname age town | |
let addNameAgeAndAddress' fname lname = | |
(fun age town -> sprintf "Your name is %s %s and you are %i years old and you live in %s" fname lname age town) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Content> | |
<Blah>adasd</Blah> | |
<Stuff>asdadas</Stuff> | |
<Thing>asdasd</Thing> | |
<Other>asdadas</Other> | |
</Content> | |
<Content> | |
<Blah>adasd</Blah> | |
<Stuff>asdadas</Stuff> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let words = [ | |
"Title" | |
"Some text" | |
"Some other text" | |
"Some text" | |
"Some other text" | |
"Title" | |
"Some text" | |
"Some other text" | |
"Title" |