curl API command to C# and Json URL

erichugheserichughes CAMember

Hi everyone,

I have an API token with url from onfido and I wanted to know how to write it as a url string api

from the webservices sample they do it this way with the longitude and latitude

string url = "" +
latitude.Text +
"&lng=" +
longitude.Text +

the API docs says to use Curl

With curl, you can just pass the correct header with each request

curl -H "Authorization: Token token=your_api_token"

can anybody help me convert this so I can pull the JSON data for my android app?



Best Answer


  • erichugheserichughes CAMember
  • erichugheserichughes CAMember

    are there any more tutorials/guides/documentation for someone who has not done much web client stuff before

Sign In or Register to comment.