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
0answers
15 views

Downloading files from third-party public group using REST API

A SharePoint short URL has been provided from third party: https://{tenant_name}.sharepoint.com/:f:/s/{site_name}/{tokenized_path_element}?e={short_token} Accessing it via browser gives me an ...
0
votes
1answer
226 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 ...
2
votes
2answers
2k 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 ...
1
vote
0answers
680 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
1answer
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 ...
1
vote
1answer
1k 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 ...
2
votes
1answer
6k 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
1answer
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 ...
1
vote
2answers
12k 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....
1
vote
0answers
220 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 ...