Skip to content

(Go client) How do I use a MultipartBody with the generated client? #5545

Closed Answered by baywet
brandonc asked this question in Q&A
Discussion options

You must be logged in to vote

This is what is incorrect in the repro you've provided

-func (m *EndpointRequestBuilder) ToPostRequestInformation(ctx context.Context, body EndpointPostRequestBodyable, requestConfiguration *EndpointRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
+func (m *EndpointRequestBuilder) ToPostRequestInformation(ctx context.Context, body i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.MultipartBody, requestConfiguration *EndpointRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {

Now, when I'm debugging locall…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@baywet
Comment options

@brandonc
Comment options

@baywet
Comment options

Answer selected by brandonc
@brandonc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants