I am trying send a 4MB json on https://servername:50000/b1s/v1/Invoices but the service layer is replying this error
XMLHttpRequest cannot load https://servername:50000/b1s/v1/Invoices. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8888’ is therefore not allowed access. The response had HTTP status code 502.
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://server:50000/b1s/v1/Invoices'.
It’s working If it’s just a few lines of item rows. The 4MB is just one consolidated A/R Invoice.