/openbmc/docs/ |
H A D | REST-cheatsheet.md | 9 ## Using CURL commands 14 authentication handled by the curl cookie jar files. The bmcweb REST server can 27 …$ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d "{\"… 40 $ curl -k -X GET https://root:0penBmc@${bmc}/xyz/openbmc_project/list 47 …$ export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"use… 48 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 61 $ export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"user… 62 $ curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/... 68 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/list 69 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/enumerate [all …]
|
H A D | REDFISH-cheatsheet.md | 4 commands for OpenBMC usage. This document uses cURL. This document assumes 14 curl -k https://${bmc}/redfish/v1 25 curl --insecure -H "Content-Type: application/json" -X POST -D headers.txt https://${bmc}/redfish/v… 39 export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"userna… 40 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/... 50 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis 51 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers 52 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Systems 60 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/SessionService/Sessions 70 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis… [all …]
|
H A D | host-management.md | 15 $ export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"user… 16 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 44 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/enumerate 48 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/chassis/mo… 80 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/ocp_zone 109 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/enumerate 113 … $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/outlet 136 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry 153 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry/1 175 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST -d '{"data" : []}'… [all …]
|
H A D | rest-api.md | 23 $ export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"user… 24 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 36 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system 59 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/attr/Cached 71 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/ 108 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/network/list 140 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/time/enumerate 168 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/host0 > host.json 186 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/host0/attr/RequestedHo… 198 To make curl use the correct content type header use the -H option to specify [all …]
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | download.c | 9 #include <curl/curl.h> 16 CURL *curl = curl_easy_init(); in download_url() local 18 if (!curl) { in download_url() 27 if (curl_easy_setopt(curl, CURLOPT_URL, url) != CURLE_OK in download_url() 28 || curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, NULL) != CURLE_OK in download_url() 29 || curl_easy_setopt(curl, CURLOPT_WRITEDATA, file) != CURLE_OK in download_url() 30 || curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1) != CURLE_OK in download_url() 31 || curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0) != CURLE_OK in download_url() 32 || curl_easy_perform(curl) != CURLE_OK) { in download_url() 40 curl_easy_cleanup(curl); in download_url()
|
/openbmc/qemu/block/ |
H A D | curl.c | 2 * QEMU Block driver for CURL images 35 #include <curl/curl.h> 41 /* CURL 7.85.0 switches to a string based API for specifying 96 CURL *curl; member 162 static int curl_sock_cb(CURL *curl, curl_socket_t fd, int action, in curl_sock_cb() argument 169 curl_easy_getinfo(curl, CURLINFO_PRIVATE, (char **)&state); in curl_sock_cb() 260 /* curl will error out if we do not return this value */ in curl_read_cb() 349 /* Don't lose the original error message from curl, since in curl_multi_check_completion() 353 error_report("curl: %s", state->errmsg); in curl_multi_check_completion() 355 error_report("curl: further errors suppressed"); in curl_multi_check_completion() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/raptor2/raptor2/ |
H A D | raptor-2.0.16-dont_use_curl-config.patch | 1 Do not use curl-config 14 -dnl curl 15 -AC_ARG_WITH(curl-config, [ --with-curl-config=PATH Location of libcurl curl-config []], curl_co… 29 - AC_CHECK_PROGS(CURL_CONFIG, curl-config) 40 - AC_CHECK_HEADER(curl/curl.h) 43 - AC_MSG_CHECKING(for libcurl via curl-config) 45 - libcurl_source="curl-config" 73 AC_CHECK_HEADER(curl/curl.h)
|
/openbmc/openbmc-tools/ipkdbg/ |
H A D | build-opkg | 47 # curl 48 [ -f curl-7.79.1.tar.bz2 ] || wget https://curl.haxx.se/download/curl-7.79.1.tar.bz2 49 [ -d curl-7.79.1 ] || tar -xvf curl-7.79.1.tar.bz2 50 cd curl-7.79.1 64 --enable-curl \ 72 …realpath ../libarchive-3.5.2/root/usr/local/lib/pkgconfig/):$(realpath ../curl-7.79.1/root/usr/loc… 73 CURL_CFLAGS=-I$(realpath ../curl-7.79.1/root/usr/local/include/) \ 74 CURL_LIBS=$(realpath ../curl-7.79.1/root/usr/local/lib/libcurl.a) \
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/ |
H A D | README.md | 69 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST \ 84 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST \ 108 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X DELETE \ 123 curl -c cjar -b cjar -k -H "Content-Type: application/json" \ 137 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT \ 155 curl -c cjar -b cjar -k -H "Content-Type: application/json" \ 168 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT \ 184 curl -c cjar -b cjar -k -H "Content-Type: application/json" \ 197 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT \ 213 curl -c cjar -b cjar -k -H "Content-Type: application/json" \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/curl/ |
H A D | curl_8.11.1.bb | 3 curl is a widely used because of its ability to be flexible and complete \ 4 complex tasks. For example, you can use curl for things like user authentication, \ 6 HOMEPAGE = "https://curl.se/" 7 BUGTRACKER = "https://github.com/curl/curl/issues" 9 LICENSE = "curl" 13 https://curl.se/download/${BP}.tar.xz \ 20 # Curl has used many names over the years... 21 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" 82 # cleanup buildpaths from curl-config 88 ${D}${bindir}/curl-config [all …]
|
/openbmc/phosphor-networkd/docs/ |
H A D | Network-Configuration.md | 66 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d 80 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET 92 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data": 109 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET 120 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data": 137 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X DELETE 150 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET 161 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data": 174 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET 188 curl -c cjar -b cjar -k -H "Content-Type: application/jon" -X PUT -d '{"data": [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/curl/curl/ |
H A D | run-ptest | 12 # Until https://github.com/curl/curl/issues/13350 is resolved, don't run FTP tests 14 # Don't assume curl-config exists 17 -a -c curl -vc curl -n -am -j4 -p \ 19 !--libcurl !curl-config !source\ analysis !checksrc !documentation
|
/openbmc/openbmc/poky/meta/recipes-support/libmicrohttpd/ |
H A D | libmicrohttpd_1.0.1.bb | 18 PACKAGECONFIG ?= "curl https" 20 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
|
/openbmc/openbmc/poky/meta/recipes-devtools/opkg/ |
H A D | opkg_0.7.0.bb | 39 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" 40 PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
|
/openbmc/docs/architecture/code-update/ |
H A D | code-update.md | 71 $ curl -b cjar -k https://${bmc}/xyz/openbmc_project/software/enumerate 102 curl -b cjar -k -H "Content-Type: application/json" -X PUT \ 116 curl -k https://${bmc}/redfish/v1/TaskService/Tasks/0 130 curl -b cjar -k https://${bmc}/xyz/openbmc_project/software/<id>/attr/Progress 139 curl -k https://${bmc}/redfish/v1/TaskService/Tasks/0 153 curl -b cjar -k https://${bmc}/xyz/openbmc_project/software/<id> 173 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT \ 184 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET \ 208 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET \ 228 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/curlpp/curlpp/ |
H A D | 0001-curlpp-config.in-Remove-references-to-absolute-build.patch | 21 + curl-config --cc 29 - echo -L@libdir@ @LDFLAGS@ @LIBS@ `curl-config --libs` -lcurlpp 30 + echo `curl-config --libs` -lcurlpp 33 - echo @libdir_static@/libcurlpp.@libext@ @LDFLAGS@ @LIBS@ `curl-config --static-libs` 34 + echo $prefix/@libdir_static@/libcurlpp.@libext@ `curl-config --static-libs`
|
/openbmc/phosphor-user-manager/docs/ |
H A D | README.md | 17 curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[false,"ldap://<lda… 32 curl -c cjar -b cjar -k -H "Content-Type: application/octet-stream" 39 curl -c cjar -b cjar -k -H "Content-Type: application/octet-stream" 46 curl -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[]}' https://$BMC_IP/xyz/op… 52 curl -b cjar -k https://$BMC_IP/xyz/openbmc_project/user/ldap/enumerate
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/xerces-c/ |
H A D | xerces-c_3.2.5.bb | 19 PACKAGECONFIG ??= "curl icu" 20 PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl"
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/ |
H A D | 0005-replace-lynx-to-curl-in-apachectl-script.patch | 4 Subject: [PATCH] replace lynx to curl in apachectl script 22 +CURL="/usr/bin/curl" 36 + $CURL -s $STATUSURL | grep -o "It works!" 43 + $CURL -s $STATUSURL | grep -o "It works!"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/xmlrpc-c/ |
H A D | xmlrpc-c_1.60.03.bb | 29 PACKAGECONFIG ??= "curl cplusplus" 33 PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/ostree/ |
H A D | ostree_2024.9.bb | 43 # soup for curl to avoid bringing in deprecated libsoup2 (though 51 curl \ 54 # We include curl because ostree can't (currently) be built without 55 # soup or curl - https://github.com/ostreedev/ostree/issues/1897 60 curl \ 67 curl \ 73 PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/xerces-c/xerces-c/ |
H A D | 0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch | 28 because this aclocal was always hardcoding "lib" (appended to --with-curl 30 PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl"
|
/openbmc/openbmc/meta-security/recipes-ids/aide/ |
H A D | aide_0.18.8.bb | 19 PACKAGECONFIG ??=" gcrypt zlib e2fsattrs posix capabilities curl pthread \ 26 PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/flatpak/ |
H A D | flatpak_1.15.10.bb | 53 PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl" 66 curl \
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libcpr/ |
H A D | libcpr_1.10.5.bb | 1 SUMMARY = "Curl for People - C++ Requests" 2 DESCRIPTION = "Curl for People C++ Requests is a simple wrapper around \ 9 DEPENDS = "curl openssl"
|