SOCKET_PEER_TARGET_NAME *peerTargetName = NULL ĭWORD serverSpnStringLen = (DWORD) wcslen(serverSPN) ĭWORD peerTargetNameLen = sizeof (SOCKET_PEER_TARGET_NAME) + (serverSpnStringLen * sizeof (wchar_t)) Token = requests.get(login_url, auth=HTTPBasicAuth(‘freddo’, ‘the_frog’)).json() Rsp = requests.get(login_url, auth=HTTPBasicAuth('freddo', 'the_frog'))įor grabbing data with token: import requests I am very new with making calls to API, and am trying to contact the following api:īasically, I am attempting to convert the two snippets of python code to an HttpRequest within c#:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |