Service call out policy not able to recognise first and last value of request body with request content-type as application/x-www-form-urlencoded.
Example :
content-type: application/x-www-form-urlencoded
Body: client_id=0oa3oxptqqWDPHNas1t7&grant_type=authorization_code&code=Qpq_JKePwfZpuhaQRv5P&client_secret=jjvrJ65blf2Ub1gPu-iutZKRiOhbsFVT5JvH1l3N&redirect_uri=http://localhost:8080/
I am getting error for client_id is required field even though I am passing it.
If I change request with some dummy value as first attribute then its able to get client_id.
Body: dummy=dummy1&client_id=0oa3oxptqqWDPHNas1t7&grant_type=authorization_code&code=Qpq_JKePwfZpuhaQRv5P&client_secret=jjvrJ65blf2Ub1gPu-iutZKRiOhbsFVT5JvH1l3N&redirect_uri=http://localhost:8080/
With above request have first value as dummy then service call out is able to get client_id.