Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Manish Jawla
MVP
246
Views
4
Comments
HOW TO RETREIVE BINARY DATA IN REST API POST METHOD
Question
Hi all,
i have created 1 rest api in which i have created 1 post method having input parameter(binary data) in body.
Now when i called this api and pass the xml data as binary data in it, then when hit the api, m able to convert this binary data again into xml data or in simple text..but if i do the same in getmethod of rest api, it is working fine. Urgent help required..
Kilian Hekhuis
MVP
Hi Manish,
I'm not quite sure I understand your problem. What is it exactly that doesn't work as you expect?
1 reply
27 Jan 2016
Show thread
Hide thread
Manish Jawla
MVP
Kilian Hekhuis
wrote:
Hi Manish,
I'm not quite sure I understand your problem. What is it exactly that doesn't work as you expect?
Hi Kilian,
Thanks for your quick response, actually m calling API from online test tool i.e why m getting irrelevant data during conversion of binary into xml. Now, its resolved thanks once again...
João Rosado
Staff
Hi Manish,
It also depends on how you are calling the API.
Can you give us a bit more detail on how you are doing it?
Also a good way to toubleshoot what is happening is
increase the logging level
of your API and check what exactly are the requests and responses being sent.
Regards,
João Rosado
1 reply
27 Jan 2016
Show thread
Hide thread
Manish Jawla
MVP
João Rosado
wrote:
Hi Manish,
It also depends on how you are calling the API.
Can you give us a bit more detail on how you are doing it?
Also a good way to toubleshoot what is happening is
increase the logging level
of your API and check what exactly are the requests and responses being sent.
Regards,
João Rosado
Hi
João Rosado
,
You are right m calling my API from https://wst.mytechlabs.com/ and trying to convert the binary data into xml i.e why m not able to do it.. Thank you.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...