Share via

Replace escape character from url

Haritha Gavara 46 Reputation points
2021-10-26T12:10:31.137+00:00

I have this relative url to connect to source and copy data

",\"type\":\"company_id\",\"id\":\"85396\",\"date_from\":\"2021-10-25 00:00\",\"date_to\":\"2021-10-26 00:00\",\"interval\":\"15min\",\"group_by\":\"shop_id\",\"limit\":\"10000\"}"

I need to remove backslash because Iam getting 404 error because of that, I don't have that backslash in my original URL and it is getting added when Iam passing as a parameter.

Could anyone help me with this

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

Nandan Hegde 36,886 Reputation points MVP Volunteer Moderator
2021-10-26T12:46:22.77+00:00

Hey,
you can use replace function.
@replace(URL,'\','')

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.