The response from API is not formated

Request

Request paremeters:

http://ibe.paradise.ro/api/currencies/set_quick_sell_exchange_rates/json/3e4212f857f454d576f296a23825bb97
Array ( [website] => www.paradise.ro [local_currency] => RON [currencies] => Array ( [USD] => 4.1011 [AUD] => 3.1655 [BGN] => 2.5184 [CAD] => 3.33 [CHF] => 4.4825 [CZK] => 0.1906 [DKK] => 0.6624 [GBP] => 5.6937 [HUF] => 0.0137 [NOK] => 0.4933 [PLN] => 1.0827 [RSD] => 0.0419 [SEK] => 0.4849 [TRY] => 0.4931 [EUR] => 4.9256 ) )

Response

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(http://bnr.ro/nbrfxrates.xml): failed to open stream: HTTP request failed!

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(http://bnr.ro/nbrfxrates.xml): failed to open stream: HTTP request failed!

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(): I/O warning : failed to load external entity "http://bnr.ro/nbrfxrates.xml"

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(): I/O warning : failed to load external entity "http://bnr.ro/nbrfxrates.xml"

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Body' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Body' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Cube' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Cube' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Rate' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Rate' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: result

Filename: libraries/Exchange_rates.php

Line Number: 70

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: result

Filename: libraries/Exchange_rates.php

Line Number: 70

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(http://bnr.ro/nbrfxrates.xml): failed to open stream: HTTP request failed!

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(http://bnr.ro/nbrfxrates.xml): failed to open stream: HTTP request failed!

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(): I/O warning : failed to load external entity "http://bnr.ro/nbrfxrates.xml"

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file(): I/O warning : failed to load external entity "http://bnr.ro/nbrfxrates.xml"

Filename: libraries/Exchange_rates.php

Line Number: 28

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Body' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Body' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Cube' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Cube' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Rate' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Rate' of non-object

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: libraries/Exchange_rates.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: result

Filename: libraries/Exchange_rates.php

Line Number: 70

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: result

Filename: libraries/Exchange_rates.php

Line Number: 70

{"request":{"website":"www.paradise.ro","local_currency":"RON","currencies":{"USD":"4.1011","AUD":"3.1655","BGN":"2.5184","CAD":"3.33","CHF":"4.4825","CZK":"0.1906","DKK":"0.6624","GBP":"5.6937","HUF":"0.0137","NOK":"0.4933","PLN":"1.0827","RSD":"0.0419","SEK":"0.4849","TRY":"0.4931","EUR":"4.9256"}},"currencies":{"EUR":{"code":"EUR","website":"www.paradise.ro","exchange_rate":4.9256000000000002,"last_update":"2021-05-06 00:05:46"},"GBP":{"code":"GBP","website":"www.paradise.ro","exchange_rate":5.6936999999999998,"last_update":"2021-05-06 00:05:46"},"USD":{"code":"USD","website":"www.paradise.ro","exchange_rate":4.1010999999999997,"last_update":"2021-05-06 00:05:46"},"CHF":{"code":"CHF","website":"www.paradise.ro","exchange_rate":4.4824999999999999,"last_update":"2021-05-06 00:05:46"},"HUF":{"code":"HUF","website":"www.paradise.ro","exchange_rate":0.0137,"last_update":"2021-05-06 00:05:46"},"SEK":{"code":"SEK","website":"www.paradise.ro","exchange_rate":0.4849,"last_update":"2021-05-06 00:05:46"},"DKK":{"code":"DKK","website":"www.paradise.ro","exchange_rate":0.66239999999999999,"last_update":"2021-05-06 00:05:46"},"RSD":{"code":"RSD","website":"www.paradise.ro","exchange_rate":0.0419,"last_update":"2021-05-06 00:05:46"},"NOK":{"code":"NOK","website":"www.paradise.ro","exchange_rate":0.49330000000000002,"last_update":"2021-05-06 00:05:46"},"CZK":{"code":"CZK","website":"www.paradise.ro","exchange_rate":0.19059999999999999,"last_update":"2021-05-06 00:05:46"},"BGN":{"code":"BGN","website":"www.paradise.ro","exchange_rate":2.5184000000000002,"last_update":"2021-05-06 00:05:46"},"PLN":{"code":"PLN","website":"www.paradise.ro","exchange_rate":1.0827,"last_update":"2021-05-06 00:05:46"},"TRY":{"code":"TRY","website":"www.paradise.ro","exchange_rate":0.49309999999999998,"last_update":"2021-05-06 00:05:46"},"AUD":{"code":"AUD","website":"www.paradise.ro","exchange_rate":3.1655000000000002,"last_update":"2021-05-06 00:05:46"},"CAD":{"code":"CAD","website":"www.paradise.ro","exchange_rate":3.3300000000000001,"last_update":"2021-05-06 00:05:46"},"THB":{"code":"THB","website":"www.paradise.ro","exchange_rate":0.13150000000000001,"last_update":"2021-05-06 00:05:46"}}}