I’ve created a get callback function just for test, and it work fine when I send GET method with
https://www.mysite.com/_functions-dev/test
Then I clicked on Publish to update the main site… and I tried to do the same with this url
https://www.mysite.com/_functions/test
And I got 404 Not Found response from the server
=========================================================
export function get_test ( request ) {
const response = {
“headers” : {
“Content-Type” : “application/json”
}
};
response.body = {
“product” : “GET RECIBIDO OK”
};
**return** ok ( response );
}
Any Idea ???