Hi,
I have applied a javascript policy at target request end. where i am checking some path param and query param and creating the target url .
i want to apply certain validation or path param and qurey param so if values are not correct i can directly return the proper http error through apigee without hitting my target server.
is there any way ???
@Vinay Soni , Find answer to your query here. We believe same will resolve your query. If you feel otherwise please comment here to reopen your question.
Does setting "success.codes" on TargetEndpoint overwrite the defaults, or append to them? 1 Answer
What is the best way to prevent requests being sent to faulty target servers via JavaScript Policy ? 2 Answers
Set Multiple headers in Javascript httpclient 1 Answer
Separate response from target server on setting target.url from Javascript policy 2 Answers