You also forgot to include any information about an error or problem you
got in using this code.
We can't help you if you don't have an actual question to ask.
On Wed, Jun 29, 2022 at 1:36 AM נתי שטרן wrote:
> Sorry but i forgor to delete this token data
>
> בתאריך יום שלישי, 28 ביוני 2022
Sorry but i forgor to delete this token data
בתאריך יום שלישי, 28 ביוני 2022, מאת De ongekruisigde <
ongekruisi...@news.eternal-september.org>:
> On 2022-06-28, Chris Angelico wrote:
> > On Wed, 29 Jun 2022 at 01:37, נתי שטרן wrote:
> >> headers["Authorization"] = "Basic
> >> YjMwMzcwODY3N
On 2022-06-28, Chris Angelico wrote:
> On Wed, 29 Jun 2022 at 01:37, נתי שטרן wrote:
>> headers["Authorization"] = "Basic
>> YjMwMzcwODY3NTUzNDMwNTg5NzA2MjkyNDFmMDE1YWY6VjNKYTk2Y1F4RTFzeTdYbzRnbkt0a2k1djhscXUyU01oSE5VWUwwRg=="
>>
>
> The error is that you just revealed your credentials to th
Please don't use all caps in the subject line. It comes across as if
you're yelling at the list --- this doesn't make people want to be more
helpful.
Instead, use meaningful, specific subject headers. Also, please be
precise and informative about what your problem is. It's not clear what
you
On Wed, 29 Jun 2022 at 01:37, נתי שטרן wrote:
> headers["Authorization"] = "Basic
> YjMwMzcwODY3NTUzNDMwNTg5NzA2MjkyNDFmMDE1YWY6VjNKYTk2Y1F4RTFzeTdYbzRnbkt0a2k1djhscXUyU01oSE5VWUwwRg=="
>
The error is that you just revealed your credentials to the whole
world. This is a public mailing list.
import requests
from requests.structures import CaseInsensitiveDict
url = "https://api.crowdstrike.com/oauth2/token";
headers = CaseInsensitiveDict()
headers["Content-Type"] = "application/x-www-form-urlencoded"
headers["Authorization"] = "Basic
YjMwMzcwODY3NTUzNDMwNTg5NzA2MjkyNDFmMDE1YWY6VjNKYTk