Answers for "how to sned JSON data in post request as a number"

2

send json body in get request

// please don't. use query or route params instead.
Posted by: Guest on July-15-2021
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 "how to sned JSON data in post request as a number"

Browse Popular Code Answers by Language