Can I specify a file input in apigee console using type

Not applicable

I want to create a file input in my Apigee console, I create like below but got normal text field

<param name="photo" required="true" type="xsd:file" style="query"> <doc>Upload profile pic</doc> </param>

Can I create a file input type in apigee console.

Solved Solved
0 2 118
1 ACCEPTED SOLUTION

The <apigee:attachments> child tag of a <request> tag enables the Console user to select a file (an image, a sound file, a video file) to be included as a MIME encoded attachment to the request message.

For more information please refer documentation here.

View solution in original post

2 REPLIES 2

The <apigee:attachments> child tag of a <request> tag enables the Console user to select a file (an image, a sound file, a video file) to be included as a MIME encoded attachment to the request message.

For more information please refer documentation here.

I am tring like this in request but it is giving invalid

<apigee:attachments>
         <param name="header_graphic" type="xsd:file" style="query">
         <doc>Maximum Width 520px, Maximum height 600px Maximum 
File Size: 250 KB File Formats: .jpg, .jpeg, .gif</doc>
         </param>
         </apigee:attachments>