moshkit

Search curls

Jan 21st, 2021
594
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     curl --compressed -X POST -H "Content-Type: application/json" -H "X-APOLLO-OPERATION-ID: 878f33a20316f7d03025334ec467b04f1b4416684941a87f16ea1c93ff92d913" -H "X-APOLLO-OPERATION-NAME: getSearchSuggestions" -H "X-APOLLO-CACHE-KEY: c3cf0cb6a02663e30fd9b564ca22ae82" -H "X-APOLLO-CACHE-FETCH-STRATEGY: NETWORK_ONLY" -H "X-APOLLO-EXPIRE-TIMEOUT: 0" -H "X-APOLLO-EXPIRE-AFTER-READ: false" -H "X-APOLLO-PREFETCH: false" -H "X-APOLLO-CACHE-DO-NOT-STORE: false" -H "Accept: application/json" -H "Accept-Language: RU" -H "User-Agent: com.redmond 2.1.6-dev 1109 (Android 28)"  -d '{"operationName":"getSearchSuggestions","variables":{"vendors":[1],"searchString":"%Наполеон%","locale":"ru","limit":5,"offset":0},"query":"query getSearchSuggestions($deviceId: Int, $vendors: [Int!], $searchString: String!, $locale: String!, $limit: Int!, $offset: Int!) { recipe(order_by: [{view_count: desc}], where: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}, name: {_ilike: $searchString}}, recipe_descriptions: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}}}, offset: $offset, limit: $limit) { __typename id translatable_fields(where: {locale: {_eq: $locale}}) { __typename name } } }"}' "https://content.readyforsky.com/v1/graphql" -L -g -k -v  | python3 -m json.tool
  2.  
  3.     curl --compressed -X POST -H "Content-Type: application/json" -H "X-APOLLO-OPERATION-ID: 92248a5380c2187f3f8e1afd3fe4ff23870470614bfbcb4e1408330aba1efb41" -H "X-APOLLO-OPERATION-NAME: searchRecipesByName" -H "X-APOLLO-CACHE-KEY: 3ceda08eef12e6ee816b88d546541c0d" -H "X-APOLLO-CACHE-FETCH-STRATEGY: NETWORK_ONLY" -H "X-APOLLO-EXPIRE-TIMEOUT: 0" -H "X-APOLLO-EXPIRE-AFTER-READ: false" -H "X-APOLLO-PREFETCH: false" -H "X-APOLLO-CACHE-DO-NOT-STORE: false" -H "Accept: application/json" -H "Accept-Language: RU" -H "User-Agent: com.redmond 2.1.6-dev 1109 (Android 28)"  -d '{"operationName":"searchRecipesByName","variables":{"vendors":[1],"searchString":"%Наполеон%","locale":"ru","limit":10,"offset":0},"query":"query searchRecipesByName($deviceId: Int, $vendors: [Int!], $searchString: String!, $locale: String!, $limit: Int!, $offset: Int!) { recipe(order_by: [{view_count: desc}], where: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}, name: {_ilike: $searchString}}, recipe_descriptions: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}}}, offset: $offset, limit: $limit) { __typename ...recipe recipe_descriptions(limit: 1, where: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}}) { __typename ...recipeDescriptionShort } } } fragment recipe on recipe { __typename id image_id view_count translatable_fields(where: {locale: {_eq: $locale}}) { __typename name } } fragment recipeDescriptionShort on recipe_description { __typename id servings_num energy cooktime }"}' "https://content.readyforsky.com/v1/graphql" -L -g -k -v  | python3 -m json.tool
  4.  
  5.     curl --compressed -X POST -H "Content-Type: application/json" -H "X-APOLLO-OPERATION-ID: e59d7d4b34daaf96882ef0f5a762fec658a0876a3b57da5f66a4a43141157c77" -H "X-APOLLO-OPERATION-NAME: searchRecipesByDescription" -H "X-APOLLO-CACHE-KEY: e627f3117b191cbcd6358cb7f1ecdae5" -H "X-APOLLO-CACHE-FETCH-STRATEGY: NETWORK_ONLY" -H "X-APOLLO-EXPIRE-TIMEOUT: 0" -H "X-APOLLO-EXPIRE-AFTER-READ: false" -H "X-APOLLO-PREFETCH: false" -H "X-APOLLO-CACHE-DO-NOT-STORE: false" -H "Accept: application/json" -H "Accept-Language: RU" -H "User-Agent: com.redmond 2.1.6-dev 1109 (Android 28)"  -d '{"operationName":"searchRecipesByDescription","variables":{"vendors":[1],"searchString":"%Наполеон%","locale":"ru","limit":24,"offset":0},"query":"query searchRecipesByDescription($deviceId: Int, $vendors: [Int!], $searchString: String!, $locale: String!, $limit: Int!, $offset: Int!) { recipe(order_by: [{view_count: desc}], where: {state: {_eq: \"available\"}, _and: [{ recipe_descriptions: { state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}, description: {_ilike: $searchString}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}, } }, {translatable_fields: {locale: {_eq: $locale}, name: {_nilike: $searchString}}}]}, offset: $offset, limit: $limit) { __typename ...recipe recipe_descriptions(limit: 1, where: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}}) { __typename ...recipeDescriptionShort } } } fragment recipe on recipe { __typename id image_id view_count translatable_fields(where: {locale: {_eq: $locale}}) { __typename name } } fragment recipeDescriptionShort on recipe_description { __typename id servings_num energy cooktime }"}' "https://content.readyforsky.com/v1/graphql" -L -g -k -v  | python3 -m json.tool
  6.  
RAW Paste Data