2022 Developer Survey is open! Take survey.

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
1 answer
46 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 ...
user avatar
  • 103
0 votes
1 answer
2k 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 ...
user avatar
2 votes
2 answers
6k 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 ...
user avatar
  • 21
1 vote
0 answers
863 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 113
1 vote
1 answer
2k 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 ...
user avatar
  • 709
2 votes
1 answer
11k 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/...
user avatar
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 ...
user avatar
  • 113
1 vote
2 answers
18k 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....
user avatar
  • 539
1 vote
0 answers
232 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 ...
user avatar