prasanna p

prasanna p

  • 975
  • 470
  • 103.2k

how to get the data from post web api with querystring parameters

Feb 7 2023 4:41 PM

Hi Friends,

I have Post Api with querystring parameters.When I am testing it in the postman getting data but while implimenting API with PostAsync method not getting data from the API.

I tried with different ways of sending parameters to POST API method such as Dictionary , list key value pair and string content but I am not unable to get the data from the API.

?username=user&password=pass&from=2022-02-03&to=2022-02-04

how to acheive this functionality?

 


Answers (1)