File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,18 @@ jobs:
2727 pip install -r requirements.txt
2828
2929
30- - name : Test CKAN API directly
30+ - name : Test CKAN API with User-Agent
3131 run : |
32- echo "=== TESTING CKAN API DIRECTLY ==="
32+ echo "=== TESTING CKAN API WITH USER-AGENT ==="
3333
34- # Replace with your actual CKAN URL
35- CKAN_URL="https://ecosystem.ckan.org/api/3/action/status_show"
34+ CKAN_URL="https://your-ckan-instance.com/api/3/action/status_show"
3635
3736 curl -X GET "$CKAN_URL" \
3837 -H "Authorization: $CKAN_API_KEY" \
3938 -H "Content-Type: application/json" \
39+ -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" \
4040 -w "\nHTTP Status: %{http_code}\n"
41+
4142 - name : Verify environment variables
4243 run : |
4344 echo "=== ENVIRONMENT VERIFICATION ==="
You can’t perform that action at this time.
0 commit comments