postmanlabs / postman-chrome-interceptor

Helper extension for the Postman packaged app. Also helps send restricted headers.
Apache License 2.0
215 stars 75 forks source link

Reproduce POST, GET web via POSTMAN #42

Open mdtuyen opened 8 years ago

mdtuyen commented 8 years ago

I make a like via web version of instagram and detected:

POST /web/likes/1163423680267997146/unlike/ HTTP/1.1 Host: www.instagram.com Connection: keep-alive Content-Length: 0 Accept: / Origin: https://www.instagram.com X-CSRFToken: e197467416dac70a79820572b7c4dcd1 X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36 X-Instagram-AJAX: 1 Referer: https://www.instagram.com/ Accept-Encoding: gzip, deflate Accept-Language: en,vi;q=0.8 Cookie: mid=VpjVeAAEAAEtqdzRDP4VSm0oh0e9; sessionid=IGSCc6a26d59491761634d3fe5887c98e83045173ef444092bdcfc3f44beb6a416ef%3AcuCik5iLIzi09nbwMaFxmSCBMQsdCBl8%3A%7B%22_token_ver%22%3A2%2C%22_auth_user_id%22%3A2049897080%2C%22_token%22%3A%222049897080%3AO4LlnTJxNicJqOw1EisV8cpZG6s8rjvo%3A176637a5876ae842d299222896450949556374d0b4ef77f8e93e8c116dd156e8%22%2C%22_auth_user_backend%22%3A%22accounts.backends.CaseInsensitiveModelBackend%22%2C%22last_refreshed%22%3A1452857264.018302%2C%22_platform%22%3A4%7D; ig_pr=1; ig_vw=1366; s_network=; csrftoken=e197467416dac70a79820572b7c4dcd1; ds_user_id=2049897080

How do I make this function via POSTMAN ? I don't know to to pass parameter to header of postman.

abhijitkane commented 8 years ago

Postman has a headers tab that you can use to add headers. Check http://www.getpostman.com/docs/requests

You can also import cURL commands directly into Postman using the Import link on the top navigation bar.