I have set up a custom connector to an external system, successfully using get, post and delete using strings but am stuck on a couple of key functions where the Postman collection sets out multipart/form-data (even though one of the entries doesn't use a file).
When I test, it returns an error - looking at the request header, no content type is shown, only authentication - I've seen in other posts example request headers in the connector test screen that include it, so I'm fairly confident it can be done, just not sure how!
In the Swagger editor (swagger: '2.0') the following definition is set out:
/user_update_group/{user_id}:
post:
operationId: UpdateUserGroup
summary: Update User Group
description: Change the value of the user group assignment
consumes: [multipart/form-data]
parameters:
- {name: user_id, default: '', in: path, type: string, required: true}
- {name: group_name, in: formData, type: string, required: true, description: Group name}
responses:
default:
description: default
schema: {}
Any help gratefully received!