Results for curl
I've learned that there is a tls handshake that takes place during the tcp connection setup, which involves exchange of public keys and tls certificat...
I am writing an audit for our website to see what detail pages are displayed based on a selection. The website is written and maintained by a 3rd par...
This is my command using Windonws Cmd: curl -x 127.0.0.1:33210 https://api.openai.com/v1/chat/completions^ -H "Content-Type: application/json" ^ -...
I can use lynx to access a website from the server fine. When I try to access the same website with a php curl instruction I get http_code=>0 from cur...
In the following Powershell code, I'm trying to set a custom-secret-id on an approle. Function GetNewSecretId { Param( [Parameter()] [Stri...
I have curl command that works perfectly (using img2img via Stability API): curl --request POST 'https://api.stability.ai/v1/generation/stable-diffusi...
Would you believe googling this returned a whopping two results! I'm trying to use Spring REST Docs (spring-restdocs-mockmvc) to generate API document...
I've defined a multi page Dash app: app.py: import dash import dash_bootstrap_components as dbc from dash import html app = dash.Dash(__name__, use_p...
I can execute api-call using terraform, but not bash. This terraform code works: curl -X POST https://circleci.com/api/v2/project/gh/some-organization...
I am trying to upload multiple .xml files to a server and my Ansible playbook indicates the path isn't a directory, but the path and files are there. ...
I am trying to send an HTML using CURL and SendGrid. I tried to install the SendGrid lib from GitHub and I could not figure it out to get the autoload...
I'm currently trying to curl an xml file through groovy: def command = "curl -H \"Accept: application/xml\" ${path}" def process = command.execute()...
I am doing a curl request :- curl -X POST -H "Content-Type: application/json" -H "Accept: application/json,text/javascript" -d '[{"command": "system.l...
I am trying put comment to GitHub PR using curl command but as my comment has multiple lines, it is failing to do so and throwing error: "message": "P...
I seem to have run into some server side logic that's preventing me from automating the installation of Respondus LockDown Browser for Mac. When I dow...
with curl v8.2.1 $ curl --location 'https://my_serv' -F "flg=OK" -F "[email protected]" "test1.xml" is local file, and it is a short xml string On the b...
I have this code to send a PUT request: $curl = curl_init($url); curl_setopt($curl, CURLOPT_PUT, true); curl_setopt($curl, CURLOPT_BODY, json_encode($...
I am writing a shell script to fire few POST curl requests. I get 400 when I use the below shell script. #!/bin/sh ENDPOINT="https://example.com:443/v...
I have a simple nginx server serving a test.sh file #!/bin/bash gum input echo hello echo world ls -l If I'm doing ./test.sh it is working file. I can...
I have a list of jsons in a file input.dat like so (many are utf-8 encoded): {"var1": "laptop", "var2": "new", "var3": "ugly"} {"var1": "televison", "...
I have a script that uses httr package for GET and POST. The script used to work without any issues for years (since 2019). but recently after updatin...
I am trying to execute a curl request for each data of an array, but I actually only gets one of the answers (even if all the url are ok and the reque...
I'm following the tutorial in Use containers for development#Get and run the sample application | Docker Docs. At step 6, instead of getting an empty...
Looking for help with weird problem with docker. I have: host machine with Ubuntu 18.04.6 LTS Docker version 20.10.18, build b40c2f6 docker compose w...
script: - echo "Running unit tests... This will take about 60 seconds." - apk add curl - > curl -X POST "https://test.atlassian.net/rest/api...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?