[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-345485-105":59,"doc-detail-345485-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","pdf-to-xml-curl-from-url-with-pdfco-web-api","PDF to XML - cURL from URL with PDF.co Web API","","How to convert a PDF hosted at a URL into an XML result using PDF.co Web API via cURL. The material explains the purpose of PDF.co Web API, highlights supported document extraction and processing features (including OCR, image and barcode handling, and PDF manipulation), and provides cURL-oriented guidance to copy and adapt code samples into a project. It also lists related SDK/API resources, a cURL command workflow, and a sample batch file name for implementation.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/pdf-to-xml-curl-from-url-with-pdfco-web-api/345485/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/pdf-to-xml-curl-from-url-with-pdfco-web-api/345485.png","ImageObject",300,407,{"name":92,"@type":93},"Fans","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-28","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",12,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What does the guide focus on for converting documents?","Question",{"text":113,"@type":114},"It focuses on converting a PDF from a remote URL into XML using the PDF.co Web API with cURL.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"Which inputs does the example require to run the conversion request?",{"text":118,"@type":114},"The example requires an API key for authentication and a source PDF URL, then constructs a REST API query and saves the response.",{"name":120,"@type":111,"acceptedAnswer":121},"Where can developers find additional training and support mentioned in the document?",{"text":122,"@type":114},"The text points to PDF.co Web API documentation, samples, free trial information, and free training resources, along with ByteScout/PDF.co websites and a video link.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},345485,1790436742,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":81,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":39},5909892330395,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","[www.bytescout.com](www.bytescout.com)  \nHow to convert PDF to XML from URL for PDF to XML API in cURL with PDF.co Web API  \nLearn how to convert PDF to XML from URL to have PDF to XML API in cURL  \nThe documentation is designed to help you to implement the features on your side. PDF.co Web API was made to help with PDF to XML API in cURL. PDF.co Web API is the Rest API that provides set of data extraction functions , tools for documents manipulation , splitting and merging of pdf files. Includes built-in OCR , images recognition , can generate and read barcodes from images , scans and pdf.  \nCURL code samples for cURL developers help to speed up the application's code writing when using PDF.co Web API. Follow the instruction and copy-paste code for cURL into your project's code editor. Further enhancement of the code will make it more vigorous.  \nByteScout free trial version is available for FREE download from our website. Programming tutorials along with source code samples are included.  \nFOR MORE INFORMATION AND FREE TRIAL:  \nDownload Free Trial SDK (on-premise version)  \nRead more about PDF.co Web API  \nExplore API Documentation  \nGet Free Training for PDF.co Web API  \nGet Free API key for Web API  \n[visit www.ByteScout.com](visit www.ByteScout.com)  \nSource Code Files:  \nConvertPdfToXmlFromUrl.cmd  \n@echo off  \n:: Path of the cURL executable set CURL= \"curl .exe \"  \n:: The authentication key (API Key) .  \n:: Get your own by registering at [https://app.pdf.co/documentation/api](https://app.pdf.co/documentation/api)[ ](https://app.pdf.co/documentation/api)[set](set API_KEY=)[ API_KEY=](set API_KEY=)***********************************  \n:: Direct URL of source PDF file .  \nset SOURCE_FILE_URL=[https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/p](https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/p)[:: Comma-separated](:: Comma-separated list of page indices)[ list of](:: Comma-separated list of page indices)[ page](:: Comma-separated list of page indices)[ indices](:: Comma-separated list of page indices) (or ranges) to process . Leave empty for all pag set PAGES=  \n:: PDF document password . Leave empty for unprotected documents .  \nset PASSWORD=  \n:: Result XML file name set RESULT_FILE_NAME= result .xml  \n:: Prepare URL for ` PDF To XML ` API call  \nset QUERY=\"[https://api.pdf.co/v1/pdf/convert/to/xml?name=%RESULT_FILE_NAME%&password=%P](https://api.pdf.co/v1/pdf/convert/to/xml?name=%RESULT_FILE_NAME%&password=%P)  \n[:: Perform request](:: Perform request and save response to a file)[ and save](:: Perform request and save response to a file)[ response](:: Perform request and save response to a file)[ to](:: Perform request and save response to a file)[ a](:: Perform request and save response to a file)[ file](:: Perform request and save response to a file)  \n%CURL% -\\# -X GET -H \"x-api-key: %API_KEY% \" %QUERY% > response .json  \n:: Display the response  \ntype response .json  \n:: Use any convenient way to parse JSON response and get URL of generated file(s)  \necho .  \npause  \nVIDEO  \n[https://www.youtube.com/watch?v=NEwNs2b9YN8](https://www.youtube.com/watch?v=NEwNs2b9YN8)  \nON-PREMISE OFFLINE SDK  \n60 Day Free Trial or Visit PDF.co Web API Home Page Explore PDF.co Web API Documentation  \nExplore Samples  \nSign Up for PDF.co Web API Online Training  \nON-DEMAND REST WEB API  \nGet Your API Key  \nExplore Web API Docs  \nExplore Web API Samples  \n[visit www.ByteScout.com](visit www.ByteScout.com)  \n[visit www.PDF.co](visit www.PDF.co)  \n[www.bytescout.com](www.bytescout.com)","cbCaiun384jYKsWj","https://ap.wps.com/l/cbCaiun384jYKsWj","pdf",29840,"English","# Overview\n## Features and documentation resources\n## cURL workflow and sample files\n## Trial, training, and API access","[{\"question\":\"What does the guide focus on for converting documents?\",\"answer\":\"It focuses on converting a PDF from a remote URL into XML using the PDF.co Web API with cURL.\"},{\"question\":\"Which inputs does the example require to run the conversion request?\",\"answer\":\"The example requires an API key for authentication and a source PDF URL, then constructs a REST API query and saves the response.\"},{\"question\":\"Where can developers find additional training and support mentioned in the document?\",\"answer\":\"The text points to PDF.co Web API documentation, samples, free trial information, and free training resources, along with ByteScout/PDF.co websites and a video link.\"}]","PDF to XML - cURL from URL with PDF.co Web API | PDF",1790057821]