GSA / ITDB-schema

IT Dashboard submissions schema, documentation and example files.
18 stars 24 forks source link

Question about Validation of Services #464

Open KellyHarrisT opened 2 years ago

KellyHarrisT commented 2 years ago

When posting for a Service, I send as an endpoint the following. Even though it says Validate Only is true, the services are posting as if I am sending Validate Only as false.

https://staging-itc-cpic.itdashboard.gov/v1/services?ITCOLLECT-VALIDATE-ONLY=true

Thank You, Kelly

rydougherty commented 2 years ago

Hi Kelly,

Thanks for sending this over. Can you double check that you are passing the validate only indicator in as a header and not as a query parameter? The 'ITCOLLECT-VALIDATE-ONLY' indicator is processed within the header, and is not evaluated as a query parameter or another mechanism.

If you are passing in the 'ITCOLLECT-VALIDATE-ONLY' as a header, then we will need flag this issue for a troubleshooting sessions. Since, I have not been able to recreate this issue, and am receiving a valid 202 response across all IT Collect environments.

Thanks, Ryan