Creating a POST Connect Rest service using App Studio with a JSON request format
I'm not sure if anyone has attempted this before but I ran into an issue trying to set this up in App Studio. Basically, there's a limitation where the only content-type the wizard accepts for POST JSON connectors is "application/x-www-form-urlencoded". I'm aware that the Dev Studio version works just as well but I wanted to try and use the App Studio version as it leverages JSON data transforms to map out response data, avoiding the need for large Integration classes and properties.
To get around this limitation I had to skip the request portion of the wizard and manually upload the JSON request to get the wizard to create the necessary data page and response data transform. Then I manually created a request data transform to map out the necessary fields. The structure only had 10 elements so it was relatively simple to set up.
This definitely is a "hacky" way to get the wizard to work and I'm not sure I'd recommend this for larger Rest services.
My question is this, is there a better way to do this using App Studio? Are there any draw backs to setting up a REST connector this way?