mirror of
https://github.com/foss42/apidash.git
synced 2025-09-25 16:15:25 +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
|
.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