Questions tagged [curl]

Use this tag if a question is about curl

7 questions
17
votes
1 answer

A systematic way to test RESTful APIs with curl?

I have noticed during integration testing that I actually work on recurring use cases with restful APIs (or in general HTTP interfaces) I check here and there with bash+cURL. It starts looking quite messy and gets harder to maintain. Why deliver…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
4
votes
5 answers

Access vault secret from bash script

I am looking for help on a direction on where to go from here. I have a Hasicorp Vault server running and accessible over DNS (local). I need to have a script get a secret from it then use that secret. I am not sure where to go from there. I know I…
user8517
1
vote
1 answer

Why do I get "Connection Refused" when attempting to connect to IPFS API using HTTP?

Created a Digital Ocean Ubuntu 20.04 droplet and setup an IPFS server node in it based on this tutorial. If I run the following command in the server ipfs swarm peers I get the expected results In addition, according to the documentation Every…
Tiago Peres
  • 121
  • 9
0
votes
1 answer

Cookbook get and set dynamic URL

There is a static Artifactory URL being used to grab a semantically versioned artifact and deploy it to JBoss. The deployment aspect of the cookbook is already fleshed out. However, I would like to make the URL "dynamic". In other words, get the…
firesalsa
  • 1
  • 1
0
votes
1 answer

The right way to Ansiblically deploy environments directly from Github:

Can one deploy an environment for some Linux OS (say, Ubuntu) from a raw Github playbook in a way similar to this (I wonder if it's the correct syntax)? bash <(curl -s https://raw.githubusercontent.com/user/repo/master/nginx-cms-addons.yml | tr -d…
Arcticooling
  • 1
  • 1
  • 6
0
votes
2 answers

Windows curl command corrupts zip files on upload to SFTP server

Per our IT department, I have to use a curl command to upload files to our SFTP server. I use a Jenkins pipeline to build our artifacts on Windows build nodes, which are *.zip files, and this is the curl command I use C:\> curl -V curl 7.03.1…
Chris F
  • 477
  • 1
  • 4
  • 17
0
votes
1 answer

Curl Error in HTTP2 framing layer when trying to install Jenkins plugin

I am trying to create a custom Jenkins docker image. For that I need to install certain plugins in Jenkins. I am doing so by adding the below lines to the Dockerfile COPY plugins.txt /usr/share/jenkins/ref/ ENV CURL_CONNECTION_TIMEOUT=60 RUN…