Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "0eab570", "specHash": "7f8494a", "version": "5.20.0" }
{ "engineHash": "6772894", "specHash": "7f8494a", "version": "5.20.0" }
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ dependencies {
testsCommonImplementation "org.hamcrest:hamcrest-library:2.2"
testsCommonImplementation "org.mockito:mockito-core:4.8.0"
testsCommonImplementation "org.slf4j:slf4j-nop:2.0.3"
testsCommonImplementation "com.squareup.okhttp3:mockwebserver:4.12.0"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.10.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.0"
testImplementation "com.github.tomakehurst:wiremock:2.27.2"
Expand Down
2 changes: 2 additions & 0 deletions docs/sdkgen/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ This method allows you to make any HTTP request to the Box API. It will automati
network configuration settings from the client.
The method accepts a `FetchOptions` object as an argument and returns a `FetchResponse` object.

For request bodies that cannot be safely replayed, such as a JWT assertion with a one-time `jti`, `FetchOptions` also accepts `dataFactory`. `dataFactory.create()` is called on the first attempt when `data` is not set and on each retry so each retry can send a fresh body.

## JSON request

The following example demonstrates how to make a custom POST request to create a new folder in the root folder.
Expand Down
Loading
Loading