curl

Jenkins - get latest artifact with curl

杀马特。学长 韩版系。学妹 提交于 2021-02-08 05:11:28
问题 I've been looking around and cannot find how to download the latest artifact with curl or even just to know the link. I've discovered the permalinks and api xml/json feeds which contain all the data that is needed such as the artifact names etc....Also discovered the special link that zips all artifacts, but my artifact is already zipped. Is there is a way to not have to pick out information and just use a simple link. In other words, tell jenkins to give me the latest artifact of job x

Jenkins - get latest artifact with curl

不问归期 提交于 2021-02-08 05:10:18
问题 I've been looking around and cannot find how to download the latest artifact with curl or even just to know the link. I've discovered the permalinks and api xml/json feeds which contain all the data that is needed such as the artifact names etc....Also discovered the special link that zips all artifacts, but my artifact is already zipped. Is there is a way to not have to pick out information and just use a simple link. In other words, tell jenkins to give me the latest artifact of job x

Unable to connect to Microsoft Dynamics CRM with PHP and Curl

醉酒当歌 提交于 2021-02-08 05:09:41
问题 I am trying to use PHP and CURL to connect to Microsoft Dynamics API so I can read client data from the CRM. The API guide can be found here: https://msdn.microsoft.com/en-gb/library/mt593051.aspx I've been into the Azure portal and set up a new application, and it gives me the credentials to use (client id, secret, etc.) and the url end points. Using these credentials I am able to successfully connect to the CRM and retrieve a bearer access token, but I am unable to get any further. When I

Jenkins - get latest artifact with curl

試著忘記壹切 提交于 2021-02-08 05:07:49
问题 I've been looking around and cannot find how to download the latest artifact with curl or even just to know the link. I've discovered the permalinks and api xml/json feeds which contain all the data that is needed such as the artifact names etc....Also discovered the special link that zips all artifacts, but my artifact is already zipped. Is there is a way to not have to pick out information and just use a simple link. In other words, tell jenkins to give me the latest artifact of job x

Unable to connect to Microsoft Dynamics CRM with PHP and Curl

送分小仙女□ 提交于 2021-02-08 05:06:32
问题 I am trying to use PHP and CURL to connect to Microsoft Dynamics API so I can read client data from the CRM. The API guide can be found here: https://msdn.microsoft.com/en-gb/library/mt593051.aspx I've been into the Azure portal and set up a new application, and it gives me the credentials to use (client id, secret, etc.) and the url end points. Using these credentials I am able to successfully connect to the CRM and retrieve a bearer access token, but I am unable to get any further. When I

Curl error “no alternative certificate..”

守給你的承諾、 提交于 2021-02-08 04:43:42
问题 We have a problem in only one of our servers hosted at Amazon (the development server). The problem happens when doing a curl request to a specific domain, by running this: > curl https://api.plivo.com Results in: curl: (51) SSL: no alternative certificate subject name matches target host name 'api.plivo.com' I did some research and found out that it might be a problem with the server's certificate, however if I try this from any other server it works fine, same on my local machine. So I'm

PHP on Webserver to send an image to another server and get back result

坚强是说给别人听的谎言 提交于 2021-02-08 03:48:00
问题 I am trying to implement all of this in I have a PHP file index.php running on a webserver (WS) on which clients upload files. I have another server which is powerful enough (GPUs) to process these files. My use case is, clients upload images which are sent via a POST request to index.php . Now, it has to send the file to another server (GPU) and on GPU, another PHP file, say process.php has to take this image, process it. So far, I think I can implement the above with PHP's cURL library. My

PHP on Webserver to send an image to another server and get back result

痴心易碎 提交于 2021-02-08 03:47:01
问题 I am trying to implement all of this in I have a PHP file index.php running on a webserver (WS) on which clients upload files. I have another server which is powerful enough (GPUs) to process these files. My use case is, clients upload images which are sent via a POST request to index.php . Now, it has to send the file to another server (GPU) and on GPU, another PHP file, say process.php has to take this image, process it. So far, I think I can implement the above with PHP's cURL library. My

How to convert CURL request to Swift using Alamofire?

穿精又带淫゛_ 提交于 2021-02-08 03:12:41
问题 I am using Alamofire and I have a curl command like this: curl "https://abc.mywebsite.com/obp/v3.1.0/my/page/accounts/myaccount1/account" -H 'Authorization: DirectLogin token="eyJhbGciOiJIUzI1NiIsInR5cCI6wkpeVeCJr.eyIiOiIifQ.MV-E150zMCrk6VrWv"' -H 'Content-Type: application/json' This command works fine on command line and I receive a response successfully. For Swift I have found very little help online which didn't work for me, and so posting a question here, how can I make this call using

How to convert CURL request to Swift using Alamofire?

百般思念 提交于 2021-02-08 03:00:31
问题 I am using Alamofire and I have a curl command like this: curl "https://abc.mywebsite.com/obp/v3.1.0/my/page/accounts/myaccount1/account" -H 'Authorization: DirectLogin token="eyJhbGciOiJIUzI1NiIsInR5cCI6wkpeVeCJr.eyIiOiIifQ.MV-E150zMCrk6VrWv"' -H 'Content-Type: application/json' This command works fine on command line and I receive a response successfully. For Swift I have found very little help online which didn't work for me, and so posting a question here, how can I make this call using