Re: GET request requires Content-type header

mdervel
Occasional Visitor

GET request requires Content-type header

Hi.

I'm trying get token requestor here https://cert.api.visa.com/unified/tr/v1/token-requestors 

See description here https://developer.visa.com/capabilities/token-gateway/reference#tag/TR-Onboarding-API_/paths/~1unifi...

It's a GET request with entityId and messageId in the Url, body is not required. However, I get 415 http code with error "Unsupported Media Type" if I don't specify a header "Content-Type: application/json". 
I think it's a bug, because in case of GET method, I should only specify Accept header, not Content-Type (I don't have content at all)

5 REPLIES 5
jenn_kh
Community Moderator

Re: GET request requires Content-type header

We appreciate you bringing this to our attention, @mdervel. We have let our team know and an agent will follow up with any information. -Jenn

I_Doroteo3
Visa Developer Support Specialist

Re: GET request requires Content-type header

Hi @mdervel,

 

Thank you for your interest in the Visa Token Service. Since your request does not appear to be related to an active project implementation with Visa resources, as a first step to learning more about this product, please contact either your Visa Account Executive, Gateway or Acquiring partner, and/or visit our detailed Product page at Visa Ready. You also can submit specific queries about the product through Visa Ready using the “Contact Us” link. Thank you again for your interest. 

 

Thanks,

Illana

mdervel
Occasional Visitor

Re: GET request requires Content-type header

@I_Doroteo3 No, it is related to active project

I_Doroteo3
Visa Developer Support Specialist

Re: GET request requires Content-type header

Hi @mdervel

 

If your project is an active implementation with Visa,  please reach out to your Visa Account Executive, Gateway or Acquiring partner regarding your token gateway inquiry.

 

Thanks, 

Illana

mdervel
Occasional Visitor

Re: GET request requires Content-type header

BTW your Contact Us form doesn't allow me send nothing, it's really strict and I can't symbol like ";",":" and many others