Published on InterSystems Developer Community (https://community.intersystems.com)

Home > REST-service how to process Form Data

Question
Simon Bijl · Jan 4, 2021

REST-service how to process Form Data

Hello to all,

I'm trying to post some form data from a form I made in React to the backend of cache fetching a REST-service.
Receiving and processing a JSON-object is no problem but how can I handle Form Data?

The frontend is sending the form as form data and also includes one or more files.

What is the easiest way to process this data in my REST.Broker- class?

Best regards,

Simon

#REST API #Caché
Product version: Caché 2017.1

Source URL:https://community.intersystems.com/post/rest-service-how-process-form-data