Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http request #24

Open
korzewski opened this issue May 24, 2021 · 0 comments
Open

Http request #24

korzewski opened this issue May 24, 2021 · 0 comments

Comments

@korzewski
Copy link
Contributor

korzewski commented May 24, 2021

Http request via off-chain worker

  1. Example http request (GET & POST)
  2. Handle success and error

Simple overview:
Utility method to simplify http communication
fn make_request<T: MouldParam + NftParam etc>(type: Enum POST/GET, base_url: Vec<u8>, params: T)

Useful links:

@korzewski korzewski added this to the On-chain NFTs milestone May 24, 2021
@PierreOssun PierreOssun removed their assignment Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants