Hi all, I am creating my first custom connector, so please be kind 🙂
In my connector I need to create a post request with the following format:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \ -d 'username={username}&password={password}' \ "https://{server}/api/{version}/auth"
From what I can read I need to use the swagger editor in order to convert the JSON body to the "x-www-for-urlencoded" format. This is as far as I have gotten, but no matter how I edit it, I can't seem to get the username and password correct. I have tried doing this request in postman and it works fine, it is the conversion to the custom connector that does not work.
Any help is much appreciated!
Br. Mathias
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1