

Import "/smartcontractkit/chainlink/blob/develop/contracts/src/v0.8/ChainlinkClient.sol" With the curl command line tool, you do this with -F. An application can also produce that format by themselves should they prefer that and provide it with CURLOPT_POSTFIELDS or even using the callback CURLOPT_READFUNCTION. Multipart formpost is structured data in the request body and this option helps you produce and send that format. When an HTTP client "uploads a file", this is almost always done using multipart formposts. Each part has a name, content and its own set of headers. That is a data stream using a format that allows the sender to send multiple "parts" of data to the server, each part being properly separated and identified. Makes libcurl send a "multipart formpost".

With a default Content-type of application/x-With the curl command line tool, you do this with -d. Sends exactly the bytes you specify in the body of the HTTP request. (NS.socket (NS.addrFamily addr) (NS.addrSocketType addr) + Just rest | "]" `isSuffixOf` rest -> Just (init rest) + ip6Literal h = case stripPrefix "[" h of Just ha -173,6 +178,11 withSocket tweakSocket hostAddress' host' port' f = doĮ.bracketOnError (firstSuccessful addrs $ openSocket tweakSocket) NS.close f + Nothing -> NS.getAddrInfo (Just hints) (Just host') port'' PS: I also tried without square brackets around the IP address, in this case the error is Invalid URL:įor an IPv4 address, the getAddrInfo function generates the address as:ĪddrInfo ) Is there some other way I can directly use the IPv6 address to make the request using the http-client package? As a next step, I tried pointing a domain to the same IPv6 address and then using the domain name in parseRequest, then it successfully resolves that into the IPv6 address and makes the request. Request <- parseRequest " Instead of parsing it as an address/addrInfo, it is parsed as a hostname and throws the error: does not exist (Name or service not known). I've been trying to make a request to an IPv6 address using the parseRequest function from ( ) package as follows: Kube-system replicaset.apps/dashboard-metrics-scraper-58d4977855 1 1 1 21m Kube-system replicaset.apps/kubernetes-dashboard-59699458b 1 1 1 21m Kube-system replicaset.apps/metrics-server-85df567dd8 1 1 1 22m

Kube-system replicaset.apps/calico-kube-controllers-f744bf684 1 1 1 23m Kube-system replicaset.apps/calico-kube-controllers-69d7f794d9 0 0 0 23m Kube-system deployment.apps/dashboard-metrics-scraper 1/1 1 1 22m

Kube-system deployment.apps/kubernetes-dashboard 1/1 1 1 22m Kube-system deployment.apps/metrics-server 1/1 1 1 22m Kube-system deployment.apps/calico-kube-controllers 1/1 1 1 23m NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE Ingress daemonset.apps/nginx-ingress-microk8s-controller 1 1 1 1 1 22m Kube-system daemonset.apps/calico-node 1 1 1 1 1 kubernetes.io/os=linux 23m NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE Kube-system service/dashboard-metrics-scraper ClusterIP 10.152.183.197 8000/TCP 22m Kube-system service/kubernetes-dashboard ClusterIP 10.152.183.103 443/TCP 22m Kube-system service/metrics-server ClusterIP 10.152.183.81 443/TCP 22m NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEĭefault service/kubernetes ClusterIP 10.152.183.1 443/TCP 23m Ingress pod/nginx-ingress-microk8s-controller-qf5pm 1/1 Running 0 21m Kube-system pod/dashboard-metrics-scraper-58d4977855-94nsp 1/1 Running 0 21m Kube-system pod/kubernetes-dashboard-59699458b-pb5jb 1/1 Running 0 21m Kube-system pod/metrics-server-85df567dd8-jd6gj 1/1 Running 0 22m Kube-system pod/calico-kube-controllers-f744bf684-d77hv 1/1 Running 0 23m Kube-system pod/calico-node-2jltr 1/1 Running 0 23m
