Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow viewing the raw request and response for debugging when using the SDK #998

Copy link
Copy link
@waldekmastykarz

Description

@waldekmastykarz
Issue body actions

Feature Request

Is your feature request related to a problem? Please describe

When using the SDK, sometimes I want to debug the call. Often this happens when a call fails and I want to verify what's going over the wire and what's coming back to determine if it's the Graph API or the SDK that's failing.

Describe the solution you'd like

I'd like to be able to put the Graph client, or a call in debug mode, where I get to see the request and response (URL + payload + headers) that go over the wire.

Describe alternatives you've considered

In a browser I can get this information from the network tab, but in Node apps, this would require a proxy which is inconvenient.

Additional context

Perhaps we could use implementing this feature using middleware, where we offer additional middleware that's logging requests and responses to console or better yet, offers a callback that allows me to decide how I want to deal with the information.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.