Make httpRequest on moralis with URL link

I want to built an API for a client by which he can “add” and “get” data from moralis database.
He want a URL + API key to make request. he only want to put a small code without any script src OR Moralis API keys on his website.
How to make it ?

you could try to use cloud functions for that:

https://docs.moralis.io/moralis-server/cloud-code/cloud-functions#calling-via-rest-api

1 Like

thank you friend.
can you also tell the cloud function codes to POST data.
I got only codes of GET data on that page.

I want to post data to moralis database with that API link.

https://docs.moralis.io/moralis-server/cloud-code/httprequest#sending-a-post-request

1 Like