apisauce icon indicating copy to clipboard operation
apisauce copied to clipboard

application/vnd.api+json not working at GET request

Open moYousefAlarand opened this issue 4 years ago • 1 comments
trafficstars

const apisauceApi = create({ baseURL: 'http://localhost:3000', headers:{ Accept: "application/vnd.api+json", } })

apisauceApi.get("users").then((response) => { console.log(response) }).catch(error){ console.log(error) }

Error:Request failed with status code 415

moYousefAlarand avatar Jul 13 '21 14:07 moYousefAlarand

is this issue resoved?

chakrihacker avatar Aug 27 '21 11:08 chakrihacker