How to script "Pre-Request Script" in POST request in Katalon Studio Object Repository

I’m new to API testing and this is my first time using Katalon Studio. I’m trying to automate the manual API testing process with Katalon Studio. I just want to create a new session. When I test the created POST request with Katalon Studio it gives an error “406 Not Acceptable”

Following are the screenshots of “POST Session” request in Postman

Following are the screen shots of Katalon studio



Pre-Request Script.png

Katalon Studio POST request.png

in Postman example, the account is set in the Body, while in Katalon Studio, it is on the url params. It might be the difference and cause 406 code.