# Apollo router accept application/x-www-form-urlencoded

**URL:** <https://community.apollographql.com/t/apollo-router-accept-application-x-www-form-urlencoded/6150>\
**Category:** Router\
**Tags:** router\
**Created:** [April 14, 2023, 11:06pm UTC](https://community.apollographql.com/t/apollo-router-accept-application-x-www-form-urlencoded/6150 "2023-04-14T23:06:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Gardner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/jeff_gardner/32/4195_2.png) [@Jeff\_Gardner](https://community.apollographql.com/u/Jeff_Gardner)\
**Post date:** [April 14, 2023, 11:06pm UTC](https://community.apollographql.com/t/apollo-router-accept-application-x-www-form-urlencoded/6150/1 "2023-04-14T23:06:05Z")

</div>

Hi, We have a client that posts queries to graphql using content type application/x-www-form-urlencoded and set the query and variables in the body. We could make this work with NodeJS version of apollo and wondered if there is a way to make it work with Apollo Router. Right now when I post to Apollo Router I get

{  
“message”: “‘content-type’ header can’t be different from "application/json" or "application/graphql-response+json"”,  
“extensions”: {  
“code”: “INVALID\_ACCEPT\_HEADER”  
}  
}  
Something like it could pass the request to a rhia script and we could parse the json in there or convert it to json something like that?

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:49pm UTC](https://community.apollographql.com/t/apollo-router-accept-application-x-www-form-urlencoded/6150/2 "2025-02-06T20:49:02Z")

</div>


