4 ms·
When testing the wework link i get this message: `<title>Worker threw exception | api.siteview.app | Cloudflare</title> (more ...)`. Does curl need additional i
by jaygray0919 3y ago
When testing the wework link i get this message: `<title>Worker threw exception | api.siteview.app | Cloudflare</title> (more ...)`. Does curl need additional information to escape this type of response? Do you use a curl alternative?
- solidgoldmagik 3y agoare you passing the `content-type: application/json` header? I just now ran the wework and it worked as expected
- jaygray0919 3y agoHere is my string: curl -H 'Content-Type: application/json' -d POST https://api.siteview.app https://api.siteview.app { "url": "https://wework.com https://wework.com" }. Do you see a problem with that request (because i am receiving the same Cloudflare message)
- solidgoldmagik 3y agoChatGPT said this is the correct cURL syntax: ``` curl -X POST https://api.siteview.app https://api.siteview.app -H 'Content-Type: application/json' -d '{ "url": "https://wework.com https://wework.com" }' ```
- jaygray0919 3y agoGot it. works well. a very useful tool.