- Passing data from POSTMAN as x-www-form-urlencoded
- Key and values are as follows:
data : P1;P2 format : json
Corresponding curl code from POSTMAN
curl --location --request POST 'https://ap-url/id/' \ --header 'content-type: application/x-www-form-urlencoded' \ --data-urlencode 'data=P1;P2' \
How to send the data as x-www-form-urlencoded on HttpClient?