Gorib Developer
Gorib Developer

Reputation: 597

how to Construct an HTTP request using Curl and Postman

enter image description hereenter image description here

I want to get response from this given data, my question is how to set the content type, accept, curl in postman in order to get the response. help is much appreciated

Upvotes: 0

Views: 204

Answers (2)

Lluís Suñol
Lluís Suñol

Reputation: 3651

You can import curl commands directly by clicking on the Import button and then pasting the curl command in the Paste Raw Text tab:

enter image description here

Upvotes: 1

Rajendra kumar Sahoo
Rajendra kumar Sahoo

Reputation: 241

I am used to Postman,so i can help you on that. 1.First you have to select method type which is there beside URL field. 2.then go to header tab and there you can give key as Content-Type,Authorisation,Accept and in value field you can pass your values ex-key ->"Content-Type" and value -> "application/json"

enter image description here

Upvotes: 1

Related Questions