XYO SDK HTTP Client for Rust
This is a custom build HTTP Request inspired by my curiosity and fueled by my ADD. It's created as part
of XYO Financial's SDK for Rust hence the hardcoded hostname and a few other configuration. It uses has
zero dependency, and it only utilises Rust's built-in libraries such as: std::net to create a TCP
connection and uses HTTP 1.1 RFC standards to communicate with the TCP server. To visit the original
XYO Financial SDK please visit: Crates XYO Financial SDK.
RFC Standard Specification for HTTP 1.1
For purpose of SDK calls only GET and POST with application/json header should
be enough to consider this library complete.
GET Request Message
GET /api/v1/enrichments/status/23230 HTTP/1.1
Host: api.xyo.financial
Accept: application/json
POST Request Message
POST /api/v1/enrichment HTTP/1.1
Host: api.xyo.financial
Content-Type: application/json
Accept: application/json
Content-Length: 48
{"content":"SomeContentHere","countryCode":"GB"}
Links
Credits
Copyright © Syniol Limited. All rights reserved.