![]() ![]() Senior Product Consultant, Professional Services The endpoint accepts three different types of inputs, and the example implements "multipart/form-data" specifically. The said example works with Microsoft Cognitive Services > Analyze Image endpoint ( ). I have created an example by using the code sample from before for a customer. You must either devise a heavily customised VBO, or use a pure code stage approach to achieve this. In the case of Web API Services feature, it would implicitly convert any binary fields to Base64 encoding, resulting in the file become not readable once uploaded by the endpoint. The main reason is the data format of the Body field, is in Text/String, which is not capable of storing binary data. If you have a multipart/form-date involving a binary field, I am afraid you are not able to use Web API Services, neither a generic VBO like Utility - HTTP VBO to achieve this. If you have a REST API endpoint that supports a single straight binary file, you can use the native Web API Services feature by setting the Body Content to Single File and then find ways to upload the file in binary format to the exposed binary parameter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |