You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, after update to 1.20.0 kiota, I've tried to test things out and it seems that request that always was sending json body right now is sending something like binary data?
exportinterfaceSignInRequestBuilderextendsBaseRequestBuilder<SignInRequestBuilder>{/** * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ValidatedResultJsonWebToken>} * @throws {ValidatedResult} error when the service returns a 400 status code */post(body: SignInDto,requestConfiguration?: RequestConfiguration<object>|undefined) : Promise<ValidatedResultJsonWebToken|undefined>;/** * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */toPostRequestInformation(body: SignInDto,requestConfiguration?: RequestConfiguration<object>|undefined) : RequestInformation;}/** * Uri template for the request builder. */exportconstSignInRequestBuilderUriTemplate="{+baseurl}/v1/auth/sign-in";/** * Metadata for all the requests in the request builder. */exportconstSignInRequestBuilderRequestsMetadata: RequestsMetadata={post: {uriTemplate: SignInRequestBuilderUriTemplate,responseBodyContentType: "application/json, text/plain;q=0.9",errorMappings: {400: createValidatedResultFromDiscriminatorValueasParsableFactory<Parsable>,},adapterMethodName: "send",responseBodyFactory: createValidatedResultJsonWebTokenFromDiscriminatorValue,requestBodyContentType: "application/json",requestBodySerializer: serializeSignInDto,requestInformationContentSetMethod: "setContentFromParsable",},};
The text was updated successfully, but these errors were encountered:
illunix
changed the title
After update to 1.20.0 kiota my body instead of json is binary data in requests
After update to 1.20.0 kiota my body instead of json is binary data in request
Nov 21, 2024
Hello, after update to 1.20.0 kiota, I've tried to test things out and it seems that request that always was sending json body right now is sending something like binary data?
Packages versions that I use
Generated request
The text was updated successfully, but these errors were encountered: