Hi, does anyone know how to mask the restLet URL ?...
# suitescript
g
Hi, does anyone know how to mask the restLet URL ? For example: Get Product Details: restlet url: https://6764146-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_mav_rt_product_details&deploy=1&sku=DE01234 How do we make this to redicrect to the above restlet ? Get product detail: GET {host url}/product/DE01234
m
You probably need some sort of middleware to do this. I would look at a serverless function like AWS Lambda, Google Cloud Function etc. It might be possible via SCA. You can try asking in #C29HR0BFG
b
despite the name, restlets are pretty bad at being restful
g
@michoel I will check them out. I am trying to explore several option to this. Thank you!