cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6757
Views
0
Helpful
0
Replies

openvulnApi - golang client api receive 200 ok with empty body content

vm.ms-secur1
Level 1
Level 1

ref: https://github.com/CiscoPSIRT/openVulnAPI/tree/master/example_code/go_examples

 

hello,

 

It seems like the returned Response from DefaultApi.SecurityAdvisoriesAdvisoryAdvisoryIdGet has no reference to a json body content bytes, neither has it mapped to a golang structure in another object. is it because it is not ready to do so in version 0.0.4?

 

I receive a 200 OK from DefaultApi.SecurityAdvisoriesAdvisoryAdvisoryIdGet

, but with an empty body content (content length = -1);

With postman I receive the 200 OK + the json body conten.

 

is there any function to consume the json response bytes yet, or is there a mapped struct object created from the that response, where?

 

fhank you

0 Replies 0