Content-Type: application/x-www-form-urlencoded and input data format is text/plain

We have an HTTP call where header should be “application/x-www-form-urlencoded” and data should be “text/plain”. I have only worked in XML and JSON. Can some some help me with the steps to do this.
Below is the CURL from postman for reference:
curl --location --request POST '' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-raw 'client_id=po-e58b2822-5e1c-4566-9f79-c49a62c3f61c%40osw.wpbs.test&client_secret=po.7127e4a626b54e7d82951c5e19963a7534fc77209ccd4abf8a9be885bce8e2f2.20201109&grant_type=client_credentials'

Please help!!

Hi Sakshi,
“application/x-www-form-urlencoded” and “text/plain” are different content types and as I understand you can set only one Content-Type. In the pub.client:http, set the Content-Type=application/x-www-form-urlencoded in the “headers” field and set the data you want to send in the “data/args” fields.

Here is the sample request when I use TCPMON to intercept the request sent using pub.client:http

POST /invoke/pub.flow:debugLog HTTP/1.1
User-Agent: Mozilla/4.0 [en] (WinNT; I)
Authorization: Basic QWRtaW5pc3RyYXRvcjptYW5hZ2U=
Content-Type: application/x-www-form-urlencoded
Cookie: ssnid=d929241228e34c7bb9af8b1e60bf6c1b
Content-Length: 22