Answers for "httpie post json"

1

httpie post json

# a short one
echo '{"hello": "world"}' | http POST pie.dev/post
# a file one
http POST pie.dev/post < files/data.json
Posted by: Guest on June-10-2021
1

httpie on windows

pip install --upgrade pip setuptools pip install --upgrade httpie
Posted by: Guest on March-29-2020
0

HTTPoison post json

url = "http://myurl"
body = Poison.encode!(%{
  "call": "MyCall",
  "app_key": key,
  "param": [
    %{
      "page": page,
      "registres": registers,
      "filter": filter
    }
  ]
})
headers = [{"Content-type", "application/json"}]
HTTPoison.post(url, body, headers, [])
Posted by: Guest on April-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language