Why can't I put the cookie in the Request Header using tools?

Source: Internet
Author: User
Assume that only one COOKIE is saved after a website is logged on and is considered as logged on. Then, when I use FIREBUG for a request, I can see that the COOKIE is carried in the request header, but I can't figure out where to put the COOKIE in the Request Header using a tool. Isn't it because the cookie is not in the request hair?... assume that only one COOKIE is saved after a website is logged on and is considered as logged on. Then, when I use FIREBUG for a request, I can see that the COOKIE is carried in the request header, but I can't figure out where to put the COOKIE in the Request Header using a tool. Isn't it because the cookie is not in the request hair? But why does FIRBUG be visible in the request header?

Reply content:

Assume that only one COOKIE is saved after a website is logged on and is considered as logged on. Then, when I use FIREBUG for a request, I can see that the COOKIE is carried in the request header, but I can't figure out where to put the COOKIE in the Request Header using a tool. Isn't it because the cookie is not in the request hair? But why does FIRBUG be visible in the request header?

Incomplete package

Is your cookie domain name set correctly? Or you can write a small demo to test it.

What do you mean.
The backend server has many ways to reject your request, not just a cookie, but a simple referer parameter.

It should be that all the parameters in the header are included and requested in the corresponding request method. cookie is only a parameter in the header.

Run the curl copied from the chrome debugging tool on the linux Command Line to simulate a request sent by the browser. The figure is big and you can click it to see it, so there is no need to use other tools. This method is quite good.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.