We can make HTTP Get and Post request through Offchain worker. Can we also do the same on chain through pallet extrinsic?

Is there any restriction?

1 Answer 1


It's not possible to make HTTP requests inside pallets calls, their execution must be deterministic.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.