Using curl with Gitlab job gives invalid yaml error

23 Views Asked by At

So I have the following curl command to hit an Endpoint, but get a :script config should be a string or a nested array of strings up to 10 levels deep error.

This is my curl command:

 script:
    - curl -X GET --header 'Accept: application/json' 'https://main-demo-services.nr.dflop-swf-prod.bee.ds.local/services/dataUser/namebreak/recache/status/'
0

There are 0 best solutions below