Questions tagged [apikit]

42 questions
0
votes
2 answers

Is it possible to share RAML file via APIKIT Console?

We want not just to share the API console that is provided via apikit component in a Mule application, but also the raw RAML file so consumers can create their own clients based on the RAML. As far as I know, there is not user friendly way to…
DIMAP
  • 11
0
votes
2 answers

Mule ApiKit - Endpoints for ../api/items and ../api/items/{itemId} at the same time?

In mule how can we serve endpoints for ../api/items and ../api/items/{itemId} at the same time ? I was wondering how to make the ApiKit work for the endpoints.. I get nullpayload and an exeption when I call ../api/items which was exactly defined in…
mcvkr
  • 3,209
  • 6
  • 38
  • 63
0
votes
1 answer

How can I create global exception handling for 4xx and 5xx errors in mule?

I am using Anypoint 6.1 and Mule 3.8.1 and am looking at extra error handling to the global exception handling created by the API kit. I am looking to add: 408 Request Timeout 429 Too many requests 500 Internal Server Error 503 Service…
user3165854
  • 1,505
  • 8
  • 48
  • 100
0
votes
2 answers

Mule APIkit: "Flow not found" instead of HTTP 415 unsupported media type

I have defined the following flow in a Mule Community Edition 3.8 application:
user3105453
  • 1,881
  • 5
  • 32
  • 55
0
votes
1 answer

is naming syntax mandatory for APIKit router To route requests to specific flows where the flow mapping is defined?

To route requests to specific flows where the flow mapping is defined with APIKit router, is naming syntax mandatory?
Shanthi
  • 1
  • 1
0
votes
1 answer

Mule apiKitGlobalExceptionMapping ValidationException not being thrown

I am using the validation component to validate key pieces of data in my mule messages when processing apiKit routed messages. I was expecting my exception class to be raised, where I could catch it in the api kit global exception component, but the…
Nathan Tregillus
  • 6,006
  • 3
  • 52
  • 91
0
votes
2 answers

UnsupportedMediaTypeException RAML Mule

Requirement - User will hit an URL and a CSV is downloaded on calling machine. Implementation Below is my RAML (1.0) definition /{format}: is: [ genericErrorResponsesCompliant ] get: description: Get/Download list of all ACTIVE…
Chirag Mehta
  • 25
  • 1
  • 6
0
votes
1 answer

Mulesoft download zip file via APIKit Router

I am having trouble with browser showing save/download prompt for zip file on http endpoint wiht APIKit Router. I have a sub flow that gets S3 object and sets payload to #[message.payload.getObjectContent] which works fine with http listener going…
pagemedias
  • 53
  • 9
0
votes
1 answer

Anypoint Studio forward payload to HTTP service

I am using APIkit that forwards a Json message to my backend java REST service. I am passing the following body from the APIKit console: {"firstname": "sonam", "lastname": "jango" } Before calling the HTTP service, I have a Set Payload component …
Katlock
  • 1,200
  • 1
  • 17
  • 41
0
votes
1 answer

Post file from mule to API

I am submitting a file to a third party api. I can make the request using postman, and the third party accepts the response: my mule flow starts with a http request, and I am able to send the file in the message.inboundAttachments dictionary, but I…
Nathan Tregillus
  • 6,006
  • 3
  • 52
  • 91
-1
votes
0 answers

In MuleSoft, after importing project to studio, most of components shown as "UNKNOWN"

[Mulesoft unknown components(https://i.stack.imgur.com/QgKLy.png) APIkit router and API console components sometimes other db, salesforce components also shown like this. Even though i connect to Exchange, after also i getting same issue. Need…
-1
votes
1 answer

Why can't I reach and test a mule flow?

I have to work with someone else's code. I downloaded the files and imported the project in Anypoint Studio. Set all the environment variables and updated the code from 4.2.2 runtime to 4.3.0. Updated all the dependencies and deployed it…
Nadeem
  • 77
  • 1
  • 12
1 2
3