jackmcaloon

Cadet 3rd Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-02-21
23:10
4195 views
RestAPI not returning output
I am currently trying to pull scans with the rest api. I am running into an issue when I do a GET request it is only returning brackets [] with no actual output.
Is this an issue with the api connecting to the database or is there possibly something I need to configure?
1 Reply


Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-02-21
23:13
If you're using SQL Express as your "database" then the cause is that the API is running as a different user from the one who runs WebInspect via the UI, therefore it's looking in a different location for those scans (basically a different location on the filesystem - associated with that user). Change the API service to run as the same user you run WebInspect as and you should see your scans.