March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
When trying to use the GET method in the copy data, I need to include the Content-Type to call my endpoint, however I get this message everytime I try and use the activity.
I can call using web activity, because I do not receive the " REST connector ignores any "Content-Type" header specified in additional headers when request body", but not the copy data activity.
Any thoughts?
Solved! Go to Solution.
In the HTTP protocol, GET requests usually do not need to include the “Content-Type” header because GET requests do not carry a request body.
The Content-Type header is primarily used to indicate the media type of the request body, such as in a POST or PUT request.
In Microsoft Fabric, the REST connector follows this standard and therefore ignores the Content-Type header in GET requests.
This is because the main purpose of a GET request is to get data from the server, not to send it, so there is no need to specify the type of the request body.
If your API needs to include the Content-Type header in a GET request, you might consider using a Web activity.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the HTTP protocol, GET requests usually do not need to include the “Content-Type” header because GET requests do not carry a request body.
The Content-Type header is primarily used to indicate the media type of the request body, such as in a POST or PUT request.
In Microsoft Fabric, the REST connector follows this standard and therefore ignores the Content-Type header in GET requests.
This is because the main purpose of a GET request is to get data from the server, not to send it, so there is no need to specify the type of the request body.
If your API needs to include the Content-Type header in a GET request, you might consider using a Web activity.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
6 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
12 | |
3 | |
3 | |
3 | |
2 |