You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
caused an error "json body could not be decoded: invalid character 'p' in string escape code" indicating that there is problem with the string being passed in graphql query:
{
findScenes(
filter: {per_page: 0}
scene_filter: {is_missing: "performers"}){
count
scenes {
id
title
path
}
}
}
This graphql query works OK inside postman, only the generated cURL is missing additional backslashes, 1 on each side, like so: \\\"performers\\\
When working with a graphql endpoint I discovered an interesting bug:
A generated sample of cURL:
caused an error
"json body could not be decoded: invalid character 'p' in string escape code"
indicating that there is problem with the string being passed in graphql query:This graphql query works OK inside postman, only the generated cURL is missing additional backslashes, 1 on each side, like so:
\\\"performers\\\
The following fixed cURL command works fine:
Postman version:
v8.2.1
OS:
Windows 10
Curl binary path:
C:\Windows\System32\curl.exe
Curl binary details:
The text was updated successfully, but these errors were encountered: