Tag: postman
-
How to define operations map in POSTMAN for GraphQL file upload
1 This is what my schema looks like: extend type Mutation { createMutation( my_id: ID! my_data: input_data ): some_output input input_data { some_key: ID! file : Upload! } This is how I am defining my operations in POSTMAN { "query": "mutation CreateMutation($my_id: ID! , $my_data: [input_data]) { createMutation(my_id: $my_id, my_data : $my_data) { some_key}}", "variables":…
-
How to download a file from a sharepoint online document library using GRAPH API to local folder
0 I am trying to get a test file (ian wheeler ms.png) from a SharePoint online document library in the sub folder General to download to a local folder of C:Temp using this question and answer microsoft-graph-download-file-via-rest-api I am able to make a call in postman to return my file contents to postman. The call…
-
How to send a file in the request body for GraphQL API and Spring-boot application using postman?
0 I am using graphQL for my APIs and now I need to receive a file in the request as a multipart file, so how to send that file using Postman to my controller? @Data public class FileDTO { private MultipartFile smsFile; } @Controller public class SMSBulkController { @Autowired ParsingService parsingService; @MutationMapping public ApiResponse<String> uploadFile(@Argument…
-
Shopify GraphQL “cartLinesAdd” API
1 When I hit this Shopify GraphQL "cartLinesAdd" API to add product to my shopping cart, in response it says invalid ID. So, can anyone please help me to find out what’s wrong here? graphql postman shopify storefront Share Follow asked Sep 8, 2021 at 14:43 Prãshant SaraswatPrãshant Saraswat 33622 silver badges1414 bronze badges 1…
-
Filtering by query string and request path in GraphQL via CloudFlare API
0 is it possible to filter the data by path and query string in the GraphQL for CloudFlare request? I want to achieve from the CloudFlare API. What I came up with looks like below: { viewer { zones(filter: { zoneTag: "MY_ZONE_ID" }) { httpRequestsAdaptiveGroups( limit: 10000 filter: { datetime_geq: "2023-10-16T00:00:00Z" datetime_lt: "2023-10-17T00:00:00Z" clientRequestHTTPHost: "my.domain.com"…
-
Shopify GraphQL Mutation Doesn’t Work In CURL Or Postman But Does With GraphiQL App
0 When I’m using the following mutation in GraphiQL App it works perfectly but when I run it using Postman or CURL it just doesn’t work. This issue is happening for Function related mutations only. The Mutation: mutation { discountAutomaticAppCreate( automaticAppDiscount: { title: "Volume Discount Created from APP 011", functionId: "9d8aas8-78asd-8d7sa-86f0-dg789asdfa9sd", startsAt: "2023-09-19T00:00:00"} ) {…
-
Load testing in Postman using GraphQL API
0 I want to perform load testing using Postman for GraphQL API. The requirement is that I need to confirm whether the application is able to withstand 200 concurrent requests. But in Postman Canary I am not able to specify 200 concurrent requests. Can any one help on this. graphql postman load-testing web-api-testing Share Improve…
-
Creating Github Organization using graphql
0 I tried below code to create organization using my github account getting error mutation { createOrganization(input: { login: "besttestzzzz", admin: true }) { organization { id login } } } { "input": { "admin": [ "testgithubaccount" ], "clientMutationId": "", "login": "testgithubaccount" } } I got errors view the below image. github graphql postman github-api…
-
How to send graphql query by postman?
90 I use POST type URL https://######/graphql Body: query: “query: “{‘noteTypes’: {‘name’, ‘label’, ‘labelColor’, ‘groupName’, ‘groupLabel’, ‘imageUrl’}}” But it return “message”: “Must provide query string.” graphql postman Share Improve this question Follow edited Jun 13, 2018 at 4:48 Neeraj Wadhwa 62522 gold badges77 silver badges1818 bronze badges asked Feb 28, 2017 at 23:32 ZPPPZPPP 1,54922…