invoke api call with special chars