MicrosoftDocs / edge-developer

Developer documentation for Edge.
https://learn.microsoft.com/microsoft-edge/developer/
Creative Commons Attribution 4.0 International
376 stars 503 forks source link

GET is easy. What about POST #3197

Open glassm opened 2 weeks ago

glassm commented 2 weeks ago

I've been attempting to send a POST request with a JSON body. I have tried several times and ways but the request always fails. No errors


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

captainbrosset commented 2 weeks ago

@glassm thank you for reaching out. This sounds like a DevTools bug rather than a documentation issue (althought it would be good to add a section about sending POST requests with JSON payloads).

But, to be sure, could you please provide more information about your specific scenario? Maybe a screenshot of your POST request details in the Network Console tool would be useful. I want to make sure I see how your request is configured.

Also, what happens when the request fails? A screenshot for the after state would be helpful too.

glassm commented 2 weeks ago

Sensitivity Label: Public

Hi Patrick, I right-clicked on the web page in the Edge browser and selected the "Clip image to OneNote" Icon. It displayed [cid:8d75aa8b-29fb-435d-b181-814618951b68] .

I selected the "Sign in with a a work ...". Entered my corporate information.

this pop-up appeared

[cid:17958d57-1a2d-4fcf-a1b7-9cbf61af0e4d]

Is this based on my employers policy?

Thank you Mark


From: Patrick Brosset @.> Sent: Friday, June 21, 2024 10:55 AM To: MicrosoftDocs/edge-developer @.> Cc: Glass, Mark A (CGI Federal) @.>; Author @.> Subject: Re: [MicrosoftDocs/edge-developer] GET is easy. What about POST (Issue #3197)

EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe.

Thank you for reaching out. This sounds like a DevTools bug rather than a documentation issue (althought it would be good to add a section about sending POST requests with JSON payloads).

But, to be sure, could you please provide more information about your specific scenario? Maybe a screenshot of your POST request details in the Network Console tool would be useful. I want to make sure I see how your request is configured.

Also, what happens when the request fails? A screenshot for the after state would be helpful too.

— Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/edge-developer/issues/3197#issuecomment-2183015669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHPM3647YO5WHTC6U63RVQ3ZIREFNAVCNFSM6AAAAABJQZHKIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTGAYTKNRWHE. You are receiving this because you authored the thread.

Proprietary/confidential information belonging to CGI Federal Inc. or its affiliates may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for the delivery of this message to such person), or if you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message to anyone else. In such case, you should destroy this message and are asked to notify the sender by reply email.

captainbrosset commented 1 week ago

@glassm I don't think your last comment addresses my request. I don't know the "Clip image to OneNote" feature, and it's not related to DevTools.