mirror of
https://github.com/foss42/apidash.git
synced 2025-05-29 12:59:58 +08:00
added template for setting up body and boundary for multipart/form-data in the request
This commit is contained in:
@ -54,4 +54,12 @@ public class Main {
|
||||
.field("{{name}}", new File("{{value}}"))\n
|
||||
''';
|
||||
|
||||
final String kTemplateRequestBodySetup = '''
|
||||
.body(requestBody)\n
|
||||
''';
|
||||
|
||||
final String kTemplateBoundarySetup = '''
|
||||
.boundary("{{boundary}}")\n
|
||||
''';
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user