Hi Community,
I am currently consuming a REST API in my application.
Please help me out with this issue.
Thanks,
Hello, friend
Watch this video. If the problem persists, let me know.
https://www.youtube.com/watch?v=gNyWIeJYfG0
Hi Ratnesh,
You have defined an ordinary structure as REST method input, while it seems you need a Multipart/form-data payload instead. So the 415 error is correct. You should check out the documentation here which describes in detail how to consume a Multipart/form-data REST service.