Questions tagged [curl]

The cURL library is often used in PHP to access data from outside web pages

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

CURL command to upload a file to SharePoint failed

I want to upload files to SharePoint (using script rather than point & click, as the uploading process must be automated via script.) As the first step, I tried to use CURL command to upload a ...
0 votes
1 answer
213 views

How to send a CAML Query with curl?

I've been using a CAML Query for getting all files in a document library in SharePoint 2013. I used PnP with PowerShell for this purpose, but as I would like to get all files on Linux. I think it's ...
  • 103
0 votes
1 answer
3k views

Use curl to upload files to SharePoint Online - 403 FORBIDDEN

I have to upload files from linux box to SharePoint Online. I have used following command: curl -k -ntlm --user myusername:password --upload-file test.txt "https://url/test.txt" -v But I ...
3 votes
2 answers
9k views

Connect to Sharepoint online REST API using CURL

I'm have created a survey in my company sharepoint online site. The response is collected in a list. I want to extract the data from this list by sending a CURL request from another server to REST API ...
  • 31
1 vote
0 answers
980 views

Upload file via curl

I have been trying to upload a file to our SharePoint server for a couple of weeks with no success. I have read several post on here and elsewhere but I cannot see to get it to work. These are the ...
1 vote
1 answer
3k views

How to upload files programmatically to SharePoint from Linux?

I'm looking to automate the upload of files to SharePoint from a UNIX system. I see that SharePoint no longer supports NTLM and needs either Claims-Based Identity (SAML) or OAuth flow, thus rendering ...
  • 113
1 vote
1 answer
3k views

Cannot download file in SharePoint Online using CURL

Hi we are using curl command line on our on-prem environment to download files but when we tried it in SharePoint Online it is no longer working. Is there any way or workaround on this one? This is ...
  • 723
2 votes
1 answer
13k views

"The security validation for this page is invalid and might be corrupted" when trying to make a raw HTTP POST to the "getchanges" endpoint

I want to make a getchanges rest api request using an HTTP client. I am trying both curl and postman and unable to do this. I'm trying to run this curl: curl -X POST \ http://192.16.11.133/_api/...
1 vote
1 answer
1k views

How to check in file in SharePoint using R?

I am able to upload a file to SharePoint folder through a shiny app from a Rshiny server. However, I am not able to check in the file. Any advice please? I am not able to implement the suggestion ...
  • 113
1 vote
3 answers
22k views

Use curl to upload files to SharePoint Online

I am trying to upload an image to a SharePoint Online Document Library using curl. This is the command I use: curl --ntlm --user user@domain.com:password --upload-file test.docx https://contoso....
  • 539
1 vote
0 answers
235 views

Trouble with curl and rest

I'm having a problem using curl to pull a specific task from sharepoint 2010 enterpise. We use a very complicated extendscript to process images into archive locations and create web images. We ...