Ok, still no answer found on this topic.
To understand all this http-process better, i try to simplify it a little bit more…
Back-End-Code-Section:
import {ok} from 'wix-http-functions';
export function get_myFunction(request) {
let options = {
"headers": {"Content-Type": "application/json"},
"body": "some text here"
};
return ok(options);
}}
Isn’t this all i need to create an http-endpoint?
My wished result is just the little STRING —> “some text here”, which should be shown like the result of this example-link…
https://api.exchangeratesapi.io/latest
When openening the related http-site directly in the browser, like this example-one:
https://user.wixsite.com/mysite/_functions/myFunction