We need to replace a line that is included in all of our content pages. While testing out my PHP/cURL code that goes through each page of the course, gets the body of the page, finds and replaces the string within the body and sends the new body string to the PUT request, most of the pages worked and the old string was replaced with the new string. However, for some of the really long pages, I got this error below:
Request-URI Too Long
The requested URL's length exceeds the capacity limit for this server.
Apache Server at canvas.instructure.com Port 80
Is there any way to get around this 414 error? If not, what else can we do to mass update all content pages?