API on back-end IC: http_request and http_responce

Me need to implement a REST API for project. How to send http request crud (Post, Get, Update, Delete) to the canister? How to form a response in the (motoko) canister code? There is one architectural solution. It is very bad: make a separate server (node js) that will receive requests from devices and the browser emulator will form them into the IC network.

1 Like

I think this should help: Is it possible to build a REST API in a Canister? - #2 by paulyoung

@paulyoung is right
@Safik sample code for http_request handling on rust

1 Like