How to API HTTP Request: POST: Headers and Body


I have been trying to do some API testing using the HTTP Post Request Action but I keep getting errors and not able to make it work in order to get the expected results.

Some of the errors that I sometimes get is in the Headers.

The Header request for the API post call are as following:

sec-ch-ua:" Not A;Brand";v=“99”, “Chromium”;v=“101”, “Google Chrome”;v=“101”
Accept:application/json, text/javascript, /; q=0.01
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
host:"*****" (private host)

And the Body is looks like the following:
userid:***** (and email)

Based on some of the documentation I was able to find, I configured the Body into a json object. However, I think most of the issues I am seeing are in the header.

On the second step, I am trying to execute another HTTP Post request where the body contains other keys and values that look like the following:

bank: d384Acb167b52
filename: MetaData - Summative - TestProjectOnly - Grade5 - item
filter: {
“assettype”: “item”,
“subjectrefid”: “aea8704a42348e7b”,
“grade”: “05”,
“resulttype”: “all”,
“selectedcolumns”: [{
“key”: “uin”,
“displaytext”: “UIN”
}, {
“key”: “commonstd1”,
“displaytext”: “Common Standard 1”
format: excel
prefix: Stat -
report: metadata - report
timeZoneOffset: 240

I greatly appreciate any help you can provide.

Have a great day,

Luis S.