bad request / curl: Port number ended with ‘"' error

2,713 views
Skip to first unread message

Justin Wirman

unread,
Feb 13, 2020, 2:51:51 PM2/13/20
to VA Lighthouse API Support for Developers
ran into this error using the Confirmation API... turns out escaping the double quotes was the issue.

This worked for me instead:

curl -X POST 'https://dev-api.va.gov/services/veteran_confirmation/v0/status' -H  'apikey: api_key_here' -H  'Content-Type: application/json' -d '{"ssn":"796-13-0115","first_name":"Tamara","last_name":"Ellis","birth_date":"1967-06-19"}'

cheers!

{"status":400,"error":"Bad Request”}

 

as well as:

curl: (3) Port number ended with ‘"'

{"status":400,"error":"Bad Request”}

 

as well as:

curl: (3) Port number ended with ‘"'

Ryan Link (VA Lighthouse)

unread,
May 28, 2020, 12:51:18 PM5/28/20
to Developer Group - VA Lighthouse APIs
Thanks for sharing this Justin!
Reply all
Reply to author
Forward
0 new messages