Döviz Bilgileri Getirir

Döviz kurlarını getirir.

GET/general/ExchangeRate
Response

Döviz kurlarını getirir.

Body
USDBuynullable string
USDSalenullable string
EUROBuynullable string
EUROSalenullable string
GBPBuynullable string
GBPSalenullable string
Request
const response = await fetch('/general/ExchangeRate', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "USDBuy": "text",
  "USDSale": "text",
  "EUROBuy": "text",
  "EUROSale": "text",
  "GBPBuy": "text",
  "GBPSale": "text"
}
var client = new RestClient("https://apitest.nilvera.com/general/ExchangeRate");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);