This REST API allows you to add Header or Footer to a document. The API returns the added object's data in XML/JSON format.
The request body should contain a type of header/footer, and the allowed values of headerFooterType are:
|The header for even-numbered pages.|
|Primary header, also used for odd-numbered pages|
|Footer for even-numbered pages.|
|Primary footer, also used for odd-numbered pages.|
|The header for the first page of the section.|
|Footer for the first page of the section.|
Swagger UI lets you call this REST API directly from the browser.
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.