This challenge is to create a curl command to interact with a Google Web App that takes a JSON input and returns the JSON and a few other items.
The usage of system(curl_cmd_str) works correctly while webwrite returns a 405 error due to Google redirects
Given a Web App url and a structure create the curl cmd that will initiate a response to the json encode of the structure.
The command string format is:
cmd='curl -L -H "Content-Type: application/json" -d "JSON_str" url'
The normal JSON_str, jsonencode(data), must have every " replaced by \"
The test suite in Test 2 contains the web app code and how it was created

Solution Stats

5 Solutions

5 Solvers

Last Solution submitted on May 07, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...