Javarevisited
Published in

Javarevisited

How to Send a Media File in the Request Body of an API

What if your request object contained a file?

Photo by Alexander Shatov on Unsplash

APIs exposed over HTTP are a big part of internet-based applications. With a whopping 93.4% adoption rate, REST or Not-quite-REST APIs are here to stay for a long time.

Even though the most common use cases of these APIs deal with data in JSON, Text, or XML format, there…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ruby Valappil

Ruby Valappil

S/W Architect & Developer Building a Solo Biz | Writes Tech, Startups, Freelancing | Newsletter -https://bit.ly/3xyXveN | Mastadon - https://bit.ly/3gomRXt